Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
erp5
Commits
783add94
Commit
783add94
authored
Nov 25, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
administration: include new component types in "check source code"
We want this check to run on all components.
parent
a4e0fb2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/BusinessTemplate_getPythonSourceCodeMessageList.py
...ration/BusinessTemplate_getPythonSourceCodeMessageList.py
+7
-3
No files found.
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/BusinessTemplate_getPythonSourceCodeMessageList.py
View file @
783add94
...
@@ -71,9 +71,13 @@ for script_container in script_container_list:
...
@@ -71,9 +71,13 @@ for script_container in script_container_list:
# Check components
# Check components
for
component_id
in
(
for
component_id
in
(
context
.
getTemplateExtensionIdList
()
+
context
.
getTemplateExtensionIdList
()
context
.
getTemplateDocumentIdList
()
+
+
context
.
getTemplateDocumentIdList
()
context
.
getTemplateTestIdList
()):
+
context
.
getTemplateMixinIdList
()
+
context
.
getTemplateTestIdList
()
+
context
.
getTemplateModuleComponentIdList
()
+
context
.
getTemplateToolComponentIdList
()
):
checkComponent
(
portal
.
portal_components
[
component_id
])
checkComponent
(
portal
.
portal_components
[
component_id
])
return
line_list
return
line_list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment