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
139
Merge Requests
139
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
fa2db673
Commit
fa2db673
authored
Mar 01, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BusinessTemplate: fixup getTemplatePortalTypeTypeMixinList
Rework commit
236689ba
after the rebase
parent
1730ba8e
Pipeline
#26911
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+9
-3
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
fa2db673
...
...
@@ -5233,9 +5233,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
self
.
_portal_type_base_category_item
=
\
PortalTypeBaseCategoryTemplateItem
(
self
.
getTemplatePortalTypeBaseCategoryList
())
self
.
_portal_type_type_mixin_item
=
\
PortalTypeTypeMixinTemplateItem
(
self
.
getTemplatePortalTypeTypeMixinList
())
self
.
_path_item
=
\
PathTemplateItem
(
self
.
getTemplatePathList
())
self
.
_preference_item
=
\
...
...
@@ -5289,6 +5286,15 @@ Business Template is a set of definitions, such as skins, portal types and categ
MixinTemplateItem
(
self
.
getTemplateMixinIdList
())
self
.
_tool_component_item
=
\
ToolComponentTemplateItem
(
self
.
getTemplateToolComponentIdList
())
try
:
self
.
_portal_type_type_mixin_item
=
\
PortalTypeTypeMixinTemplateItem
(
self
.
getTemplatePortalTypeTypeMixinList
())
# This property may not be defined if erp5_property_sheets has not been
# upgraded yet
except
AttributeError
:
self
.
_portal_type_type_mixin_item
=
PortalTypeTypeMixinTemplateItem
(())
security
.
declareProtected
(
Permissions
.
ManagePortal
,
'build'
)
def
build
(
self
,
no_action
=
0
,
update_revision
=
True
):
...
...
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