Commit 9af88985 authored by Sebastien Robin's avatar Sebastien Robin

- fixed references on travaler checks

- specify the portal type of lines on some deliveries


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13600 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 11643553
......@@ -95,8 +95,8 @@ class TestERP5BankingCheckbookVaultTransferMixin:
self.line_2 = self.checkbook_reception.newContent(quantity=1,
resource_value=self.traveler_check_model,
check_type_value=self.traveler_check_model.variant_1,
reference_range_min=52,
reference_range_max=52,
reference_range_min="abcd123456",
reference_range_max="abcd123456",
price_currency_value=self.currency_2
)
self.workflow_tool.doActionFor(self.checkbook_reception, 'confirm_action',
......
......@@ -196,8 +196,8 @@ class TestERP5BankingTravelerCheckPurchase(TestERP5BankingCheckbookUsualCashTran
self.line_1 = self.traveler_check_purchase.newContent(quantity=1,
resource_value=self.traveler_check_model,
check_type_value=self.traveler_check_model.variant_1,
reference_range_min=52,
reference_range_max=52,
reference_range_min="abcd123456",
reference_range_max="abcd123456",
aggregate_value=self.traveler_check,
price_currency_value=self.currency_2
)
......
......@@ -179,10 +179,11 @@ class TestERP5BankingTravelerCheckSaleMixin:
# Add a line for check
self.line_1 = self.traveler_check_sale.newContent(quantity=1,
portal_type="Checkbook Delivery Line",
resource_value=self.traveler_check_model,
check_type_value=self.traveler_check_model.variant_1,
reference_range_min=52,
reference_range_max=52,
reference_range_min="abcd123456",
reference_range_max="abcd123456",
aggregate_value=self.traveler_check,
price_currency_value=self.currency_2
)
......
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