diff --git a/product/ERP5/tests/testNewPayroll.py b/product/ERP5/tests/testNewPayroll.py index 346d4d63a209ed206f3ab2f07853c6dc8b144598..7e933d8626b0b4872db3420a584412e35c087bc1 100644 --- a/product/ERP5/tests/testNewPayroll.py +++ b/product/ERP5/tests/testNewPayroll.py @@ -246,11 +246,14 @@ class TestNewPayrollMixin(ERP5ReportTestCase, TestBPMMixin): sequence.edit(urssaf_model_line_with_slices = model_line) def stepPaysheetCreateUrssafModelLine(self, sequence=None, **kw): + '''The model line created here have the same reference than the model line + created in stepModelCreateUrssafModelLine. This is used for line + overloading tests''' paysheet = sequence.get('paysheet') model_line = self.createModelLine(paysheet) model_line.edit(title='Urssaf', int_index=2, - reference='urssaf_model_line_4', + reference='urssaf_model_line', trade_phase='trade_phase/payroll/france/urssaf', resource_value=sequence.get('urssaf_payroll_service'), variation_category_list=['tax_category/employee_share',