17 Commits

Author SHA1 Message Date
Jared Kipe
b249646cb7 [FIX] hr_payroll_attendance: better handle form submit False 2022-09-22 16:29:35 +00:00
Jared Kipe
c086446bac [FIX] hr_payroll_attendance: exception with .exists() 2022-01-18 15:31:40 -08:00
Mishael De La Cruz
b43eb88554 [I18N] multi: Initial Translations 15.0 2021-11-02 09:58:15 -05:00
Jared Kipe
af275866da [MIG] hr_payroll_attendance: to Odoo 15.0 2021-10-07 11:35:21 -07:00
Jared Kipe
613b2dd3ea [FIX] hr_payroll_timesheet: Fixes for a database that has gone through multiple Odoo Upgrades
Init will run on install, even if the module existed in the prior version.  Because these init scripts are intended to clear (and maybe even re-name back on actual init of data), records we should be more generic with the intended name.

Additionally, if your database already had `hr_payroll_timesheet` based 'TS' work entry codes, then we cannot delete it if it is used on records like payslips (as a work type).  Delete the link to simply stop using the old record, but leave it behind to keep it working.
2021-10-07 11:31:54 -07:00
Jared Kipe
a4478c18f7 [FIX] hr_payroll_attendance: tests and migration fixes 2021-10-07 11:31:54 -07:00
Jared Kipe
0fa8681198 [MIG] hr_payroll_attendance: for Odoo Enterprise 13.0
Move some concerns to other modules, refactor new API to make it possible to use timesheets and attendances together.

Now possible to add attendances by hand or import via smart button and 'recompute' attendances.
2021-10-07 11:31:54 -07:00
Jared Kipe
a8bf1ad78d [IMP] hr_payroll_attendance: normalize 'amount' on leave lines, require hibou_professional 2021-10-07 11:31:54 -07:00
Jared Kipe
ffee220f25 [IMP] hr_payroll_attendance: new default entry mechanisms, otherwise use the type from the attendance
Also skip putting it on the sheet if it is an unpaid type.
2021-10-07 11:31:54 -07:00
Jared Kipe
e5ef236631 [NEW] hr_attendance_work_entry: for Odoo 13 2021-10-07 11:31:54 -07:00
Jared Kipe
da6e6a6de1 [IMP] hr_payroll_attendance: Migration script for 13 2021-10-07 11:31:54 -07:00
Jared Kipe
06026ee9f0 [FIX] hr_payroll_attendance: repeated onchange in a single change will duplicate attendances in a set until saved 2021-10-07 11:31:54 -07:00
Jared Kipe
799880ebcf [FIX] hr_payroll_attendance: Unlink behavior on attendances and remove "Work Calendar" work lines. 2021-10-07 11:31:54 -07:00
Jared Kipe
d76403083e [FIX] hr_payroll_attendance: unlink behavior for multi-worked-lines 2021-10-07 11:31:54 -07:00
Jared Kipe
67ad69557e [MIG] hr_payroll_attendance: to Odoo 13.0 + [ADD] Overtime calculations 2021-10-07 11:31:54 -07:00
Jared Kipe
6ca232dcb2 MIG hr_payroll_attendance to 12.0 2021-10-07 11:31:54 -07:00
Jared Kipe
da26919f50 Initial commit of hr_payroll_attendance and hr_payroll_attendance_holidays modules for 11.0.
The purpose of this new functionality is to better distinguish between timesheets and attendance, as well as preventing the stock "salaried" time computations from working.
2021-10-07 11:31:54 -07:00