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
Labels
Merge Requests
140
Merge Requests
140
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
236689ba
Commit
236689ba
authored
Feb 16, 2022
by
Romain Courteaud
Committed by
Rafael Monnerat
May 26, 2022
3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BusinessTemplate: fixup getTemplatePortalTypeTypeMixinList
parent
3a895301
Pipeline
#22079
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+7
-2
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
236689ba
...
...
@@ -5708,13 +5708,18 @@ Business Template is a set of definitions, such as skins, portal types and categ
"""
return
self
.
_getOrderedList
(
'template_portal_type_base_category'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getTemplatePortalTypeTypeMixin
i
List'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getTemplatePortalTypeTypeMixinList'
)
def
getTemplatePortalTypeTypeMixinList
(
self
):
"""
We have to set this method because we want an
ordered list
"""
try
:
return
self
.
_getOrderedList
(
'template_portal_type_type_mixin'
)
# This property may not be defined if erp5_property_sheets has not been
# upgraded yet
except
AttributeError
:
return
()
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getTemplateActionPathList'
)
def
getTemplateActionPathList
(
self
):
...
...
Rafael Monnerat
@rafael
mentioned in commit
fa2db673
·
Mar 02, 2023
mentioned in commit
fa2db673
mentioned in commit fa2db6730f07952bcb097c4ef8204edc09d8b53e
Toggle commit 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