Commit f0b6982c authored by Aurel's avatar Aurel

forget to give parameter to has property


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9705 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5fb5457a
......@@ -565,7 +565,7 @@ class TestERP5BankingMixin:
# the erp5 site
self.portal = self.getPortal()
# the default currency for the site
if not self.portal.hasProperty():
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")
......
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