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
2
Merge Requests
2
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
Cédric Le Ninivin
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