Commit Graph

7 Commits

Author SHA1 Message Date
Jared Kipe
d87fa8c923 [FIX] hr_payroll_overtime: colspan 4 squishes above fields
Essentially, the colspan=4 here pushed the two fields above it into a strange view because it is a single group that is already 4 col wide.
2020-12-10 14:01:00 -08:00
Jared Kipe
8d41b9c574 [IMP] hr_payroll_overtime: implement exempt from overtime on contract 2020-12-10 09:40:06 -08:00
Jared Kipe
72c5a219fb [IMP] hr_payroll_overtime: refactor to abstract override class and use on Work Types themselves
E.g. It is now possible to support "Sunday Pay" where before it was only possible to give "Sunday Overtime Pay" as an override to overtime itself.
2020-12-09 15:21:29 -08:00
Jared Kipe
1750841109 [IMP] hr_payroll_overtime: implement date or day of week overrides to overtime rules 2020-10-06 13:50:48 -07:00
Jared Kipe
2084492294 [IMP] hr_payroll_overtime: detect recursion and prevent the simplest type in the form view 2020-10-06 07:56:04 -07:00
Jared Kipe
8310c99815 [IMP] hr_payroll_overtime: refactor calculation to allow 'recursion' or overtime on overtime
Example.  Lets say you have 8hr/day overtime at 1.5x, and 12hr/day overtime at 2x.
Now you can create a 2x overtime rules for 12 hours/day, and use it as the overtime rules for the original overtime worktype.
2020-10-05 13:05:51 -07:00
Jared Kipe
9cb127aaf6 [ADD] hr_payroll_overtime: for Odoo 13.0 2020-07-07 13:59:07 -07:00