[Erp5-report] r9698 - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 6 14:32:44 CEST 2006


Author: aurel
Date: Wed Sep  6 14:32:38 2006
New Revision: 9698

URL: http://svn.erp5.org?rev=9698&view=rev
Log:
use the right method to set the property

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=9698&r1=9697&r2=9698&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py Wed Sep  6 14:32:38 2006
@@ -565,7 +565,7 @@
     # the erp5 site
     self.portal = self.getPortal()
     # the default currency for the site
-    self.portal.setProperty('reference_currency_id', 'EUR', type='string')
+    self.portal.manage_addProperty('reference_currency_id', 'EUR', type='string')
     # the person module
     self.person_module = self.getPersonModule()
     # the organisation module




More information about the Erp5-report mailing list