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
Sebastien Robin
erp5
Commits
70b92437
Commit
70b92437
authored
May 18, 2022
by
Levin Zimmermann
Browse files
Options
Browse Files
Download
Plain Diff
add data configuration portal type group for wendelin
See merge request
!1630
parents
daa73409
b1bdb286
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
product/ERP5/ERP5Defaults.py
product/ERP5/ERP5Defaults.py
+2
-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/ERP5Defaults.py
View file @
70b92437
...
...
@@ -205,6 +205,8 @@ portal_device_type_list = ('Data Acquisition Unit',
portal_device_configuration_type_list
=
()
portal_data_configuration_type_list
=
()
# This transaction lines are special because destination must be None.
portal_balance_transaction_line_type_list
=
(
'Balance Transaction Line'
,)
...
...
product/ERP5/ERP5Site.py
View file @
70b92437
...
...
@@ -1750,6 +1750,14 @@ class ERP5Site(ResponseHeaderGenerator, FolderMixIn, PortalObjectBase, CacheCook
"""
return
self
.
_getPortalGroupedTypeList
(
'payment_request'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPortalDataConfigurationTypeList'
)
def
getPortalDataConfigurationTypeList
(
self
):
"""
Returns Data Configuration types.
"""
return
self
.
_getPortalGroupedTypeList
(
'data_configuration'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getDefaultModuleId'
)
def
getDefaultModuleId
(
self
,
portal_type
,
default
=
MARKER
,
only_visible
=
False
):
...
...
product/ERP5Type/ERP5Type.py
View file @
70b92437
...
...
@@ -318,6 +318,7 @@ class ERP5TypeInformation(XMLObject,
# Wendelin
'device'
,
'device_configuration'
,
'data_configuration'
,
'data_descriptor'
,
'data_sink'
,
# LEGACY - needs a warning - XXX-JPS
...
...
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