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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tristan Cavelier
erp5
Commits
040fd755
Commit
040fd755
authored
Dec 22, 2017
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Type/ERP5Site: add the interface_post type group
parent
78565260
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+8
-0
product/ERP5Type/ERP5Type.py
product/ERP5Type/ERP5Type.py
+1
-0
No files found.
product/ERP5/ERP5Site.py
View file @
040fd755
...
...
@@ -1408,6 +1408,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
"""
return
self
.
_getPortalGroupedTypeList
(
'event'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPortalInterfacePostTypeList'
)
def
getPortalInterfacePostTypeList
(
self
):
"""
Return interface_post types.
"""
return
self
.
_getPortalGroupedTypeList
(
'interface_post'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPortalDivergenceTesterTypeList'
)
def
getPortalDivergenceTesterTypeList
(
self
):
...
...
product/ERP5Type/ERP5Type.py
View file @
040fd755
...
...
@@ -283,6 +283,7 @@ class ERP5TypeInformation(XMLObject,
'invoice'
,
'invoice_movement'
,
'balance_transaction_line'
,
# CRM
'event'
,
'ticket'
,
'interface_post'
,
# object used to track exchanges in/out of ERP5
# DMS
'document'
,
'web_document'
,
'file_document'
,
'embedded_document'
,
'recent_document'
,
'my_document'
,
'template_document'
,
...
...
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