[Erp5-report] r14351 - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri May 4 12:03:38 CEST 2007
Author: seb
Date: Fri May 4 12:03:38 2007
New Revision: 14351
URL: http://svn.erp5.org?rev=14351&view=rev
Log:
add banknotes of 100
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=14351&r1=14350&r2=14351&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py Fri May 4 12:03:38 2007
@@ -404,6 +404,7 @@
self.cash_status_mutilated = self.cash_status_base_category.newContent(id='mutilated', portal_type='Category')
self.cash_status_retired = self.cash_status_base_category.newContent(id='retired', portal_type='Category')
self.cash_status_new_not_emitted = self.cash_status_base_category.newContent(id='new_not_emitted', portal_type='Category')
+ self.cash_status_mixed = self.cash_status_base_category.newContent(id='mixed', portal_type='Category')
self.emission_letter_base_category = getattr(self.category_tool, 'emission_letter')
# add the category k in emission letter that will be used fo banknotes and coins
@@ -449,6 +450,11 @@
# create document for banknote of 200 euros from years 1992 and 2003
self.billet_200 = self.currency_cash_module.newContent(id='billet_200',
portal_type='Banknote', base_price=200,
+ price_currency_value=self.currency_1, variation_list=('1992', '2003'),
+ quantity_unit_value=self.unit)
+ # create document for banknote of 200 euros from years 1992 and 2003
+ self.billet_100 = self.currency_cash_module.newContent(id='billet_100',
+ portal_type='Banknote', base_price=100,
price_currency_value=self.currency_1, variation_list=('1992', '2003'),
quantity_unit_value=self.unit)
# Create Resources Document (Banknotes & Coins) in USD
More information about the Erp5-report
mailing list