Commit 759e172a authored by Vincent Pelletier's avatar Vincent Pelletier

Differnt checbook models MUST use different check models.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22661 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 462d7d52
......@@ -903,11 +903,12 @@ class TestERP5BankingMixin:
"""
self.check_model = self.createCheckModel(id='check_model')
self.check_model_1 = self.check_model
self.check_model_2 = self.createCheckModel(id='check_model_2')
self.checkbook_model = self.createCheckbookModel(
id='checkbook_model', check_model=self.check_model)
self.checkbook_model_1 = self.checkbook_model
self.checkbook_model_2 = self.createCheckbookModel(
id='checkbook_model_2', check_model=self.check_model)
id='checkbook_model_2', check_model=self.check_model_2)
def createCheck(self, id, reference, checkbook, bank_account=None,
resource_value=None, destination_value=None):
......
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