diff --git a/ohrms_overtime/models/hr_payslip.py b/ohrms_overtime/models/hr_payslip.py index 07069af6..ad53f0ba 100644 --- a/ohrms_overtime/models/hr_payslip.py +++ b/ohrms_overtime/models/hr_payslip.py @@ -13,7 +13,7 @@ def get_inputs(self, contracts, date_from, date_to): input tree. """ - res = super(PayslipOverTime, self).get_inputs(contracts, date_to, date_from) + res = super(PayslipOverTime, self).get_inputs(contracts, date_from, date_to) overtime_type = self.env.ref('ohrms_overtime.hr_salary_rule_overtime') contract = self.contract_id overtime_id = self.env['hr.overtime'].search([('employee_id', '=', self.employee_id.id),