[Erp5-report] r13593 - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Mar 23 14:59:40 CET 2007
Author: aurel
Date: Fri Mar 23 14:59:38 2007
New Revision: 13593
URL: http://svn.erp5.org?rev=13593&view=rev
Log:
fix typo for 100 usd banknote, add the one for 200
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=13593&r1=13592&r2=13593&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py Fri Mar 23 14:59:38 2007
@@ -420,8 +420,13 @@
# Create Resources Document (Banknotes & Coins) in USD
self.currency_2 = self.createCurrency(id='USD',title='USD')
# create document for banknote of 100 USD
- self.usd_billet_200 = self.currency_cash_module.newContent(id='usd_billet_100',
+ self.usd_billet_100 = self.currency_cash_module.newContent(id='usd_billet_100',
portal_type='Banknote', base_price=100,
+ price_currency_value=self.currency_2, variation_list=('not_defined',),
+ quantity_unit_value=self.unit)
+ # create document for banknote of 200 USD
+ self.usd_billet_200 = self.currency_cash_module.newContent(id='usd_billet_200',
+ portal_type='Banknote', base_price=200,
price_currency_value=self.currency_2, variation_list=('not_defined',),
quantity_unit_value=self.unit)
# create document for banknote of 50 USD
More information about the Erp5-report
mailing list