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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
15c6dab2
Commit
15c6dab2
authored
Feb 16, 2022
by
Romain Courteaud
Committed by
Rafael Monnerat
Feb 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BusinessTemplate: fixup getTemplatePortalTypeTypeMixinList
parent
c302dc5b
Changes
1
Hide 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 @
15c6dab2
...
@@ -5708,13 +5708,18 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -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'
)
return
self
.
_getOrderedList
(
'template_portal_type_base_category'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getTemplatePortalTypeTypeMixin
i
List'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getTemplatePortalTypeTypeMixinList'
)
def
getTemplatePortalTypeTypeMixinList
(
self
):
def
getTemplatePortalTypeTypeMixinList
(
self
):
"""
"""
We have to set this method because we want an
We have to set this method because we want an
ordered list
ordered list
"""
"""
return
self
.
_getOrderedList
(
'template_portal_type_type_mixin'
)
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'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getTemplateActionPathList'
)
def
getTemplateActionPathList
(
self
):
def
getTemplateActionPathList
(
self
):
...
...
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