Commit 25a3ba5c authored by Jérome Perrin's avatar Jérome Perrin

set a base_unit_quantity on the currency used in those tests



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13896 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c613106b
......@@ -488,6 +488,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
id = 'EUR',
title = 'Euro',
portal_type = self.currency_portal_type,
base_unit_quantity = .01,
)
sequence.edit(euro=currency_module.EUR, currency=currency_module.EUR)
......@@ -1276,7 +1277,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
'collected_vat' : (0, 19.60),
'receivable' : (119.60, 0),
}
for invoice_transaction_line in invoice_transaction_line_list :
self.assert_(
invoice_transaction_line.getSourceId() in accounting_lines_layout.keys(),
......
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