[Erp5-report] r32082 kazuhiko - /erp5/trunk/products/ERP5/tests/testInvoice.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 29 13:29:18 CET 2010


Author: kazuhiko
Date: Fri Jan 29 13:29:16 2010
New Revision: 32082

URL: http://svn.erp5.org?rev=32082&view=rev
Log:
create an account document for bank

Modified:
    erp5/trunk/products/ERP5/tests/testInvoice.py

Modified: erp5/trunk/products/ERP5/tests/testInvoice.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testInvoice.py?rev=32082&r1=32081&r2=32082&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInvoice.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testInvoice.py [utf8] Fri Jan 29 13:29:16 2010
@@ -53,6 +53,7 @@
   vat_rate = 0.196
   sale_gap = 'fr/pcg/7/70/707/7071/70712'
   customer_gap = 'fr/pcg/4/41/411'
+  bank_gap = 'fr/pcg/5/51/512'
   mail_delivery_mode = 'by_mail'
   cpt_incoterm = 'cpt'
   unit_piece_quantity_unit = 'unit/piece'
@@ -67,6 +68,7 @@
       ('refundable_vat', vat_gap, 'asset/receivable/refundable_vat'),
       ('purchase', sale_gap, 'expense'),
       ('supplier', customer_gap, 'liability/payable'),
+      ('bank', bank_gap, 'asset/cash/bank'),
       )
   # (line_id, source_account_id, destination_account_id, line_quantity)
   transaction_line_definition_list = (
@@ -109,6 +111,7 @@
             'gap/%s' % self.vat_gap,
             'gap/%s' % self.sale_gap,
             'gap/%s' % self.customer_gap,
+            'gap/%s' % self.bank_gap,
             'delivery_mode/%s' % self.mail_delivery_mode,
             'incoterm/%s' % self.cpt_incoterm,
             'quantity_unit/%s' % self.unit_piece_quantity_unit,




More information about the Erp5-report mailing list