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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 6 17:49:18 CEST 2006


Author: aurel
Date: Wed Sep  6 17:49:15 2006
New Revision: 9714

URL: http://svn.erp5.org?rev=9714&view=rev
Log:
use updateProperty instead of edit

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=9714&r1=9713&r2=9714&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py Wed Sep  6 17:49:15 2006
@@ -568,7 +568,7 @@
     if not self.portal.hasProperty('reference_currency_id'):
       self.portal.manage_addProperty('reference_currency_id', 'EUR', type='string')
     else:
-      self.portal.edit(reference_currency_id="EUR")
+      self.portal._updateProperty('reference_currency_id', "EUR")
     # the person module
     self.person_module = self.getPersonModule()
     # the organisation module




More information about the Erp5-report mailing list