Commit 865f9dd7 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add a workaround for default catalog configuration which breaks when used with

erp5_banking_core custom catalog definition.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29907 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c40fe18c
......@@ -757,6 +757,11 @@ class TestERP5BankingMixin:
"""
# the erp5 site
self.portal = self.getPortal()
# XXX: should be done by erp5_banking_core business template
catalog = self.portal.portal_catalog.getSQLCatalog()
catalog.sql_catalog_role_keys = ()
# the default currency for the site
if not self.portal.hasProperty('reference_currency_id'):
self.portal.manage_addProperty('reference_currency_id', 'EUR', type='string')
......
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