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,7 +136,8 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase
# open counter date and counter
self.openCounterDate(site=self.paris)
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")
......@@ -182,6 +183,7 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase
source_total_asset_price=20000.0,
grouping_reference="lettering",
description='test',
payment_type_value=self.payment_order,
)
# execute tic
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