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
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
b64592e0
Commit
b64592e0
authored
Feb 07, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5: introduce a new payment_request type list
parent
b418885f
Changes
2
Hide 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 @
b64592e0
...
@@ -1657,6 +1657,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
...
@@ -1657,6 +1657,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
return
self
.
_getPortalGroupedTypeList
(
'device_configuration'
)
or
\
return
self
.
_getPortalGroupedTypeList
(
'device_configuration'
)
or
\
self
.
_getPortalConfiguration
(
'portal_device_configuration_type_list'
)
self
.
_getPortalConfiguration
(
'portal_device_configuration_type_list'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPortalPaymentRequestTypeList'
)
def
getPortalPaymentRequestTypeList
(
self
):
"""
Returns Payment Request types.
"""
return
self
.
_getPortalGroupedTypeList
(
'payment_request'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getDefaultModuleId'
)
'getDefaultModuleId'
)
def
getDefaultModuleId
(
self
,
portal_type
,
default
=
MARKER
,
only_visible
=
False
):
def
getDefaultModuleId
(
self
,
portal_type
,
default
=
MARKER
,
only_visible
=
False
):
...
...
product/ERP5Type/ERP5Type.py
View file @
b64592e0
...
@@ -285,6 +285,7 @@ class ERP5TypeInformation(XMLObject,
...
@@ -285,6 +285,7 @@ class ERP5TypeInformation(XMLObject,
# CRM
# CRM
'event'
,
'ticket'
,
'event'
,
'ticket'
,
'interface_post'
,
# object used to track exchanges in/out of ERP5
'interface_post'
,
# object used to track exchanges in/out of ERP5
'payment_request'
,
# 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