How can I use this python code in odoo 12 particularly in salary rules to introduce overtime rates base upon public holidays, weekends and normal day employee.get_overtime_hours(employee.id, payslip.date_from, payslip.date_to)
How can I use this python code in odoo 12 particularly in salary rules to introduce overtime rates base upon public holidays, weekends and normal day
employee.get_overtime_hours(employee.id, payslip.date_from, payslip.date_to)