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
Labels
Merge Requests
141
Merge Requests
141
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
7cc36bb9
Commit
7cc36bb9
authored
Jan 03, 2019
by
Klaus Wölfel
Committed by
Levin Zimmermann
May 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add data configuration portal type group for wendelin
parent
daa73409
Pipeline
#21543
failed with stage
in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
product/ERP5/ERP5Defaults.py
product/ERP5/ERP5Defaults.py
+2
-0
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+9
-0
product/ERP5Type/ERP5Type.py
product/ERP5Type/ERP5Type.py
+1
-0
No files found.
product/ERP5/ERP5Defaults.py
View file @
7cc36bb9
...
@@ -205,6 +205,8 @@ portal_device_type_list = ('Data Acquisition Unit',
...
@@ -205,6 +205,8 @@ portal_device_type_list = ('Data Acquisition Unit',
portal_device_configuration_type_list
=
()
portal_device_configuration_type_list
=
()
portal_data_configuration_type_list
=
()
# This transaction lines are special because destination must be None.
# This transaction lines are special because destination must be None.
portal_balance_transaction_line_type_list
=
(
'Balance Transaction Line'
,)
portal_balance_transaction_line_type_list
=
(
'Balance Transaction Line'
,)
...
...
product/ERP5/ERP5Site.py
View file @
7cc36bb9
...
@@ -1750,6 +1750,15 @@ class ERP5Site(ResponseHeaderGenerator, FolderMixIn, PortalObjectBase, CacheCook
...
@@ -1750,6 +1750,15 @@ class ERP5Site(ResponseHeaderGenerator, FolderMixIn, PortalObjectBase, CacheCook
"""
"""
return
self
.
_getPortalGroupedTypeList
(
'payment_request'
)
return
self
.
_getPortalGroupedTypeList
(
'payment_request'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPortalDataConfigurationTypeList'
)
def
getPortalDataConfigurationTypeList
(
self
):
"""
Returns Data Configuration types.
"""
return
self
.
_getPortalGroupedTypeList
(
'data_configuration'
)
or
\
self
.
_getPortalConfiguration
(
'portal_data_configuration_type_list'
)
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 @
7cc36bb9
...
@@ -318,6 +318,7 @@ class ERP5TypeInformation(XMLObject,
...
@@ -318,6 +318,7 @@ class ERP5TypeInformation(XMLObject,
# Wendelin
# Wendelin
'device'
,
'device'
,
'device_configuration'
,
'device_configuration'
,
'data_configuration'
,
'data_descriptor'
,
'data_descriptor'
,
'data_sink'
,
'data_sink'
,
# LEGACY - needs a warning - XXX-JPS
# 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