diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py b/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py index 5ecf28ea79d5c0931551611670b06a6ee3f83fa5..2a8e3921768dd9505fb369ba5ba6eb6603812605 100755 --- a/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py @@ -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', diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py index e8e64f6e8565316daf90aacfa25139a2978cbba8..694c41587726e607bc7c8a98145c9b69e46ce49b 100755 --- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py +++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py @@ -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 ) diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py index 39d4a4a4666ca3cb88051c454d686ecaed90b846..6cf802cfb7a54e61bf8c93580f91d42852b5b7e5 100755 --- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py +++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py @@ -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 )