[Erp5-report] r32943 kazuhiko - /erp5/trunk/products/ERP5/tests/testAccountingRules.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 22 13:14:20 CET 2010


Author: kazuhiko
Date: Mon Feb 22 13:14:20 2010
New Revision: 32943

URL: http://svn.erp5.org?rev=32943&view=rev
Log:
create account_module/bank.

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=32943&r1=32942&r2=32943&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccountingRules.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testAccountingRules.py [utf8] Mon Feb 22 13:14:20 2010
@@ -383,7 +383,7 @@
         title = "Income Notebook",
         account_type = "income",
       )
-      income = account_module.newContent(
+      income_barebone = account_module.newContent(
         id = "income_barebone",
         portal_type = self.account_portal_type,
         title = "Income Barebone",
@@ -394,6 +394,12 @@
         portal_type=self.account_portal_type,
         title = "Receivable",
         account_type = "asset/receivable",
+      )
+      bank = account_module.newContent(
+        id = "bank",
+        portal_type=self.account_portal_type,
+        title = "Bank",
+        account_type = "asset/cash/bank",
       )
       collected_vat = account_module.newContent(
         id = "collected_vat",
@@ -406,6 +412,7 @@
       income          = account_module.income,
       income_barebone = account_module.income_barebone,
       receivable      = account_module.receivable,
+      bank   = account_module.bank,
       collected_vat   = account_module.collected_vat,
     )
 




More information about the Erp5-report mailing list