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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5
Commits
106ee51f
Commit
106ee51f
authored
Dec 20, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_core] fixup
Many typos in:
nexedi/erp5@a9d81b09
parent
94e464ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getDeletableDocumentListParameterList.py
...erp5_core/Folder_getDeletableDocumentListParameterList.py
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Module_listWorkflowTransitionItemList.py
..._skins/erp5_core/Module_listWorkflowTransitionItemList.py
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getDeletableDocumentListParameterList.py
View file @
106ee51f
...
...
@@ -4,7 +4,7 @@ parameter_list = field.getTemplateField().get_value('default_params')
# If the listbox does not display them, do not add the state filter parameter
filter_portal_type_list
=
[
x
[
1
]
for
x
in
parameter_list
if
x
[
0
]
==
'portal_type'
]
if
filter_portal_type_list
:
if
sametype
(
filter_portal_type_list
,
''
):
if
same
_
type
(
filter_portal_type_list
,
''
):
filter_portal_type_list
=
[
filter_portal_type_list
]
else
:
filter_portal_type_list
=
None
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Module_listWorkflowTransitionItemList.py
View file @
106ee51f
...
...
@@ -19,7 +19,7 @@ module_portal_type = type_tool.getTypeInfo(module)
checked_workflow_id_dict
=
{}
for
document_portal_type_id
in
module_portal_type
.
getTypeAllowedContentTypeList
():
if
(
filter_portal_type_list
is
not
None
)
and
(
filter_portal_type_list
not
in
portal_type_list
):
if
(
filter_portal_type_list
is
not
None
)
and
(
document_portal_type_id
not
in
filter_
portal_type_list
):
continue
for
workflow
in
workflow_tool
.
getWorkflowsFor
(
document_portal_type_id
):
if
workflow
.
id
not
in
checked_workflow_id_dict
:
...
...
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