Commit 031ed7fb authored by Vincent Pelletier's avatar Vincent Pelletier

It is not allowed for multiple check models to use the same reference. Specify...

It is not allowed for multiple check models to use the same reference. Specify another check reference (as found in Base_getCheckModelByBankAccount).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22781 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 60ae35f1
...@@ -903,7 +903,7 @@ class TestERP5BankingMixin: ...@@ -903,7 +903,7 @@ class TestERP5BankingMixin:
""" """
self.check_model = self.createCheckModel(id='check_model') self.check_model = self.createCheckModel(id='check_model')
self.check_model_1 = self.check_model self.check_model_1 = self.check_model
self.check_model_2 = self.createCheckModel(id='check_model_2') self.check_model_2 = self.createCheckModel(id='check_model_2', reference='CCCO')
self.checkbook_model = self.createCheckbookModel( self.checkbook_model = self.createCheckbookModel(
id='checkbook_model', check_model=self.check_model) id='checkbook_model', check_model=self.check_model)
self.checkbook_model_1 = self.checkbook_model self.checkbook_model_1 = self.checkbook_model
......
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