Commit f384b12b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

create account_module/bank.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32943 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d2d252fb
...@@ -383,7 +383,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase): ...@@ -383,7 +383,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
title = "Income Notebook", title = "Income Notebook",
account_type = "income", account_type = "income",
) )
income = account_module.newContent( income_barebone = account_module.newContent(
id = "income_barebone", id = "income_barebone",
portal_type = self.account_portal_type, portal_type = self.account_portal_type,
title = "Income Barebone", title = "Income Barebone",
...@@ -395,6 +395,12 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase): ...@@ -395,6 +395,12 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
title = "Receivable", title = "Receivable",
account_type = "asset/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( collected_vat = account_module.newContent(
id = "collected_vat", id = "collected_vat",
portal_type=self.account_portal_type, portal_type=self.account_portal_type,
...@@ -406,6 +412,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase): ...@@ -406,6 +412,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
income = account_module.income, income = account_module.income,
income_barebone = account_module.income_barebone, income_barebone = account_module.income_barebone,
receivable = account_module.receivable, receivable = account_module.receivable,
bank = account_module.bank,
collected_vat = account_module.collected_vat, collected_vat = account_module.collected_vat,
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment