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
abb6a210
Commit
abb6a210
authored
Feb 18, 2022
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Products.ERP5.ERP5Site: Declare getCoreBusinessTemplateList public.
But make it non-publishable.
parent
63b1b1ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+5
-7
No files found.
product/ERP5/ERP5Site.py
View file @
abb6a210
...
...
@@ -278,14 +278,12 @@ class ERP5Site(ResponseHeaderGenerator, FolderMixIn, PortalObjectBase, CacheCook
PortalObjectBase
.
__init__
(
self
,
id
)
self
.
creation_date
=
DateTime
()
security
.
declareP
rivate
(
'getCoreBusinessTemplateList'
)
security
.
declareP
ublic
(
'getCoreBusinessTemplateList'
)
def
getCoreBusinessTemplateList
(
self
):
"""
Return the list of business templates expected to be installed when this
class is instanciated. Allows including these business templates in the
list of business templates to upgrade (ex: in upgrade unit tests) without
duplicating this list.
"""
# Return the list of business templates expected to be installed when this
# class is instanciated. Allows including these business templates in the
# list of business templates to upgrade (ex: in upgrade unit tests) without
# duplicating this list.
return
[
'erp5_property_sheets'
,
'erp5_core'
,
...
...
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