Commit 4253e605 authored by Aurel's avatar Aurel

must defined account on checkbook delivery


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18585 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e308f72d
...@@ -59,6 +59,7 @@ class TestERP5BankingCheckbookDeliveryMixin: ...@@ -59,6 +59,7 @@ class TestERP5BankingCheckbookDeliveryMixin:
id='checkbook_delivery', portal_type='Checkbook Delivery', id='checkbook_delivery', portal_type='Checkbook Delivery',
source_value=self.source_site, destination_value=None, source_value=self.source_site, destination_value=None,
resource_value=self.currency_1, resource_value=self.currency_1,
destination_payment_value=self.bank_account_2,
start_date=self.date) start_date=self.date)
self.line_2 = self.checkbook_delivery.newContent(quantity=1, self.line_2 = self.checkbook_delivery.newContent(quantity=1,
resource_value=self.check_model_1, resource_value=self.check_model_1,
...@@ -196,6 +197,7 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin, ...@@ -196,6 +197,7 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin,
self.checkbook_delivery = self.checkbook_delivery_module.newContent( self.checkbook_delivery = self.checkbook_delivery_module.newContent(
id='checkbook_delivery', portal_type='Checkbook Delivery', id='checkbook_delivery', portal_type='Checkbook Delivery',
source_value=self.source_site, destination_value=None, source_value=self.source_site, destination_value=None,
destination_payment_value=self.bank_account_2,
resource_value=self.currency_1, resource_value=self.currency_1,
start_date=self.date) start_date=self.date)
# check its portal type # check its portal type
......
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