[FIX] hr_payroll_hibou: for Odoo 13.0

This commit is contained in:
Jared Kipe
2022-01-13 15:08:34 -08:00
parent 33ab9f3019
commit 4aa82ccee9
4 changed files with 5 additions and 7 deletions

View File

@@ -126,11 +126,9 @@ class TestPayslip(common.TransactionCase):
'date_from': date_from,
'date_to': date_to
})
# Included in hr.payslip.action_refresh_from_work_entries() as ov 14.0 EE
# slip._onchange_employee()
# as is the 'compute' that is almost always called immediaately after
slip._onchange_employee()
if not skip_compute:
slip.action_refresh_from_work_entries()
slip.compute_sheet()
return slip
def _getCategories(self, payslip):