[Erp5-report] r29907 - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 22 11:23:52 CEST 2009
Author: gregory
Date: Thu Oct 22 11:23:49 2009
New Revision: 29907
URL: http://svn.erp5.org?rev=29907&view=rev
Log:
Add a workaround for default catalog configuration which breaks when used with
erp5_banking_core custom catalog definition.
Modified:
erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
Modified: erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py?rev=29907&r1=29906&r2=29907&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] Thu Oct 22 11:23:49 2009
@@ -757,6 +757,11 @@
"""
# 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')
More information about the Erp5-report
mailing list