[Erp5-report] r13896 - /erp5/trunk/products/ERP5/tests/testAccountingRules.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 3 15:46:59 CEST 2007
Author: jerome
Date: Tue Apr 3 15:46:58 2007
New Revision: 13896
URL: http://svn.erp5.org?rev=13896&view=rev
Log:
set a base_unit_quantity on the currency used in those tests
Modified:
erp5/trunk/products/ERP5/tests/testAccountingRules.py
Modified: erp5/trunk/products/ERP5/tests/testAccountingRules.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccountingRules.py?rev=13896&r1=13895&r2=13896&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccountingRules.py (original)
+++ erp5/trunk/products/ERP5/tests/testAccountingRules.py Tue Apr 3 15:46:58 2007
@@ -488,6 +488,7 @@
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 @@
'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(),
More information about the Erp5-report
mailing list