Skip to Content

Merged from upstream 19 261205 01

Building with script
open
PR
#1383
PR Author
David Tran
Committer
David Tran
Commit
5b5da870ffb6
Branch
19.0
Age
Up-time
Not finished
Commit message
[FIX] hr_attendance: use real leave hours for flexible expected hours

The expected hours of flexible employees deducted leave intervals that
the community _handle_flexible_leave_interval stretches to the full
day. A partial time off then removed the whole day and all worked hours
became overtime. The flexible leave tests only passed when the
hr_holidays_gantt override, which keeps the real hours, was installed.

Deduct the real leave durations from each day's virtual attendance
instead, so the result no longer depends on that override.

runbot-957789

(cherry picked from commit 3a61838e62fd26e7d0cf7d4d37ab4541363f6e48)
Build Log
Date Level Message
12/06/2026 03:14:15 AM INFO
Running on build host office2, the most idle machine, build containers taken: office2 12/12, the master 39/36, office1 17/12
12/06/2026 03:14:15 AM INFO
Updated repository davidtranhp-tvtmaaddons
12/06/2026 03:14:15 AM INFO
Updated repository Viindoo-erponline-enterprise
12/06/2026 03:14:15 AM INFO
Updated repository Viindoo-branding
12/06/2026 03:14:15 AM INFO
Cloned repository Viindoo-odoo
12/06/2026 03:14:15 AM INFO
This pull request is built with davidtranhp/tvtmaaddons#19.0-adapt-upstream-261205, whose changes it does not list: it runs every step and test suite
12/06/2026 03:14:15 AM INFO
Post install tests: 9 parallel builds balanced by the test time measured on 19.0, the longest about 217 minutes of tests
12/06/2026 03:40:49 AM INFO
Post install tests: no parallel build added, build host office2 has 19 of its 12 build containers taken