diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-05-22 12:27:25 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-05-26 15:21:35 +0000 |
| commit | 28655ac9c318a3974c2b52c5216edfc22ade89f6 (patch) | |
| tree | 39138a3f176241ce0f68f8eded5e099c2b353728 /addons/utm/data/utm_data.xml | |
| parent | 635519ae29202e11c93f973e78d922e983e9f5ee (diff) | |
[FIX] hr_attendance: fix last month worked hours
Issue
- Attendances > Manager > Attendances
- Create a line for any employee
check-in 30/04/2020 12PM
check out 01/05/2020 12PM
- Go to Employees > the employee
Last month worked hours = 0
but it should be 12
Cause
We only take into account records
checked_out the previous month
Solution
Rethink the whole method to
take into account records
checked_in last month and
checked_out this month
And adding timezone handling
OPW-2259533
closes odoo/odoo#51919
X-original-commit: 7918cccf0c6e28c25e909b1355eb7fda5373edb2
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/utm/data/utm_data.xml')
0 files changed, 0 insertions, 0 deletions
