Commit 70b92437 authored by Levin Zimmermann's avatar Levin Zimmermann

add data configuration portal type group for wendelin

See merge request nexedi/erp5!1630
parents daa73409 b1bdb286
Pipeline #21571 failed with stage
......@@ -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',)
......
......@@ -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):
......
......@@ -318,6 +318,7 @@ class ERP5TypeInformation(XMLObject,
# Wendelin
'device',
'device_configuration',
'data_configuration',
'data_descriptor',
'data_sink',
# LEGACY - needs a warning - XXX-JPS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment