diff --git a/product/ERP5/tests/testPayroll.py b/product/ERP5/tests/testPayroll.py index 9fb65824dccd85daf7038dfc9b727f1110ed67cc..2e3059a69677d3492f4fdedcb11339f6eb3874ee 100644 --- a/product/ERP5/tests/testPayroll.py +++ b/product/ERP5/tests/testPayroll.py @@ -2580,7 +2580,7 @@ class TestPayroll(TestPayrollMixin): self.assertEquals(paysheet.contentValues()[2].contentValues()[0].getTotalPrice(), -800) # create a paysheet with one normal line and an intermediate line - model_line_2.setDoNotCreatePaysheetLine(True) + model_line_2.setCreatePaysheetLine(False) paysheet = self.portal.accounting_module.newContent( portal_type='Pay Sheet Transaction', specialise_value=model)