Commit 6a10453c authored by Aurel's avatar Aurel

defined payment type category on internal money payment


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19999 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3a34f946
...@@ -136,8 +136,9 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -136,8 +136,9 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase
# open counter date and counter # open counter date and counter
self.openCounterDate(site=self.paris) self.openCounterDate(site=self.paris)
self.openCounter(site=self.bi_counter_vault) self.openCounter(site=self.bi_counter_vault)
# create a payment category
self.payment_order = self.portal.portal_categories.payment_type.newContent(portal_type="Category", id="payment_order")
def stepCheckObjects(self, sequence=None, sequence_list=None, **kwd): def stepCheckObjects(self, sequence=None, sequence_list=None, **kwd):
...@@ -182,6 +183,7 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -182,6 +183,7 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase
source_total_asset_price=20000.0, source_total_asset_price=20000.0,
grouping_reference="lettering", grouping_reference="lettering",
description='test', description='test',
payment_type_value=self.payment_order,
) )
# execute tic # execute tic
self.stepTic() self.stepTic()
......
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