Monday, April 28, 2025
1 change · master
Resolved issues and error corrections
Payroll batches now select employees based on active contracts during the batch period, reducing mistakes such as duplicate or incorrectly matched payslips. This helps payroll teams generate batches with the right contracts and salary structures, improving accuracy across payroll and related accounting reports.
Original PR description
* = hr_payroll{,_account}, l10n_{be,in}_hr_payroll
Problem
----------
- An employee can not have multiple payslip in a batch
- Wrong contract can be selected in the wizard
- Difference between structure payslip's structure and contract's one
Objective
----------
- Base the employees selection on active contracts running in the batch period
- Update tests to follow the good behaviour
Solution
----------
- Link payslip employee wizard with a batch one time with the context
task-4483393