Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
2fc96ad5
Commit
2fc96ad5
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
a7f35488
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 @
2fc96ad5
...
@@ -1408,6 +1408,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
...
@@ -1408,6 +1408,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
"""
"""
return
self
.
_getPortalGroupedTypeList
(
'event'
)
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
,
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPortalDivergenceTesterTypeList'
)
'getPortalDivergenceTesterTypeList'
)
def
getPortalDivergenceTesterTypeList
(
self
):
def
getPortalDivergenceTesterTypeList
(
self
):
...
...
product/ERP5Type/ERP5Type.py
View file @
2fc96ad5
...
@@ -283,6 +283,7 @@ class ERP5TypeInformation(XMLObject,
...
@@ -283,6 +283,7 @@ class ERP5TypeInformation(XMLObject,
'invoice'
,
'invoice_movement'
,
'balance_transaction_line'
,
'invoice'
,
'invoice_movement'
,
'balance_transaction_line'
,
# CRM
# CRM
'event'
,
'ticket'
,
'event'
,
'ticket'
,
'interface_post'
,
# object used to track exchanges in/out of ERP5
# DMS
# DMS
'document'
,
'web_document'
,
'file_document'
,
'embedded_document'
,
'document'
,
'web_document'
,
'file_document'
,
'embedded_document'
,
'recent_document'
,
'my_document'
,
'template_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