Name: [FIX][17.0] hr_holidays: Prevent accrual beyond defined end date

State: Killed

PR State: closed

PR Author: Tuyên Trần

PR Author Email:

PR: #1102

Committer: TuyenTran

Committer Email: trandinhtuyen2018@gmail.com

Commit: da493b96e0c450c29d86f54bda9ed5eb322165fb

Description:

                                            [FIX] hr_holidays: Prevent accrual beyond defined end date

**Current Behavior**
When an allocation is configured with an automatic accrual and an end
date, selecting a future date beyond the accrual end date still results
in additional leaves being calculated.

**Solution**
Introduced a check to cap the selected date at the accrual_date_end when
simulating future leave accruals. This ensures that no extra leaves are
added beyond the intended accrual period.
                                            

Branch: 17.0

Instance ID: 0

Age:

Up-time: Not finished

Subbuilds Name State Detail
Build 322477 At install tests: from account to website_twitter Killed Log
Build 322478 Post install tests: step install all modules Killed Log
Build 322479 Post install tests: from account to hr_work_entry Killed
Build 322480 Post install tests: from hr_work_entry_contract to pos_hr_restaurant Killed
Build 322481 Post install tests: from pos_loyalty to sale_stock_margin Killed
Build 322482 Post install tests: from sale_timesheet to to_multi_warehouse_access_control Killed
Build 322483 Post install tests: from to_odoo_module to viin_sign_sim_viettel Killed
Build 322484 Post install tests: from viin_social to website_twitter Killed
Create Date Level Message
06/10/2025 11:19:17 INFO
Updated repository Viindoo-tvtmaaddons
06/10/2025 11:19:17 INFO
Updated repository Viindoo-erponline-enterprise
06/10/2025 11:19:17 INFO
Updated repository Viindoo-branding
06/10/2025 11:19:17 INFO
Cloned repository Viindoo-odoo