Commit ff2f56b3 authored by Aurel's avatar Aurel

allow to define reference


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19547 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c151aedc
......@@ -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')
......
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