Commit 781ee14b authored by Aurel's avatar Aurel

use updateProperty instead of edit


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9714 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 031e8f93
...@@ -568,7 +568,7 @@ class TestERP5BankingMixin: ...@@ -568,7 +568,7 @@ class TestERP5BankingMixin:
if not self.portal.hasProperty('reference_currency_id'): if not self.portal.hasProperty('reference_currency_id'):
self.portal.manage_addProperty('reference_currency_id', 'EUR', type='string') self.portal.manage_addProperty('reference_currency_id', 'EUR', type='string')
else: else:
self.portal.edit(reference_currency_id="EUR") self.portal._updateProperty('reference_currency_id', "EUR")
# the person module # the person module
self.person_module = self.getPersonModule() self.person_module = self.getPersonModule()
# the organisation module # the organisation module
......
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