Commit c84f0433 authored by Jérome Perrin's avatar Jérome Perrin

Merge branch 'backport/831' into fix/upgradeSchema_multiple_connections

parents 0ce8d375 0318ffee
......@@ -88,6 +88,7 @@
<string>my_source_function</string>
<string>my_source_funding</string>
<string>my_source_project_title</string>
<string>my_source_payment_request_title</string>
<string>my_source_payment</string>
<string>my_payment_mode</string>
<string>my_aggregate_title_list</string>
......
......@@ -88,6 +88,7 @@
<string>my_destination_function</string>
<string>my_destination_funding</string>
<string>my_destination_project_title</string>
<string>my_destination_payment_request_title</string>
<string>my_destination_payment</string>
<string>my_payment_mode</string>
<string>my_aggregate_title_list</string>
......
......@@ -80,6 +80,7 @@
<string>my_destination_project_title</string>
<string>my_destination_reference</string>
<string>my_destination_carrier_title</string>
<string>my_destination_payment_request_title</string>
</list>
</value>
</item>
......@@ -95,6 +96,7 @@
<string>my_source_project_title</string>
<string>my_source_reference</string>
<string>my_source_carrier_title</string>
<string>my_source_payment_request_title</string>
</list>
</value>
</item>
......
......@@ -80,6 +80,7 @@
<string>my_source_project_title</string>
<string>my_source_reference</string>
<string>my_source_carrier_title</string>
<string>my_source_payment_request_title</string>
</list>
</value>
</item>
......@@ -95,6 +96,7 @@
<string>my_destination_project_title</string>
<string>my_destination_reference</string>
<string>my_destination_carrier_title</string>
<string>my_destination_payment_request_title</string>
</list>
</value>
</item>
......
......@@ -1580,6 +1580,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
return self._getPortalGroupedTypeList('device_configuration') or\
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,
'getDefaultModuleId')
def getDefaultModuleId(self, portal_type, default=MARKER, only_visible=False):
......
......@@ -282,7 +282,8 @@ class ERP5TypeInformation(XMLObject,
'invoice', 'invoice_movement', 'balance_transaction_line',
# CRM
'event', 'ticket',
# DMS
'payment_request',
# DMS
'document', 'web_document', 'file_document', 'embedded_document',
'recent_document', 'my_document', 'template_document',
'crawler_index',
......
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