diff --git a/product/ERP5Banking/tests/TestERP5BankingMixin.py b/product/ERP5Banking/tests/TestERP5BankingMixin.py index 5ea8395e36cb00e80ab4008075db7bd2e8463f5f..fc41d8677e43a11a8bd985a7b7deb864df4d7bbb 100644 --- a/product/ERP5Banking/tests/TestERP5BankingMixin.py +++ b/product/ERP5Banking/tests/TestERP5BankingMixin.py @@ -850,7 +850,7 @@ class TestERP5BankingMixin: reference_range_max = max, start_date = date) - def createCheckbookModel(self, id, check_model): + def createCheckbookModel(self, id, check_model, reference=None): """ Create a checkbook for the given bank account with 3 variations @@ -859,6 +859,7 @@ class TestERP5BankingMixin: portal_type = 'Checkbook Model', title='Generic', account_number_enabled=True, + reference=reference, composition=check_model.getRelativeUrl()) model.newContent(id='variant_1',portal_type='Checkbook Model Check Amount Variation', quantity=50,title='50')