Friday, December 29, 2023
4 changes
1 change
Enhancements to existing features
Employees can no longer select a company bike benefit when they already have a company car benefit. This helps Belgian payroll and salary package configurations stay compliant with local rules and prevents incompatible benefit combinations.
Original PR description
To align with belgian law, ensure employees can't benefit from both a company car deduction and bike trajectory simultaneously. Implemented a restriction preventing the selection of company bike when the company car is already chosen. Task-3519780
3 changes
Resolved issues and error corrections
Fixed an error that appeared when creating new employee contracts in the Belgian payroll system. The issue was caused by the system trying to access a fleet management feature that wasn't installed. The fix properly separates this functionality so it only runs when the fleet module is available.
Original PR description
Before this commit, an error message appeared when clicking on creating a new contract. The problem was: a field linked to the fleet application was used without it being installed. This was fixed by moving the check to the l10n_be_he_payroll_fleet module task: 3522341
The UPS delivery module has been updated to use the new 'quantity' field instead of the deprecated 'qty_done' field. This change ensures the module continues to function correctly with the latest Odoo framework updates and maintains compatibility with the system's inventory tracking.
Original PR description
Following quantitypocalypse (odoo/odoo#137864), the field `qty_done` no longer exists and is replaced by `quantity`.
This fix resolves an issue where regular users couldn't update their automatic account synchronization settings because the system required administrator configuration rights. The update now runs with elevated permissions, allowing end users to manage their account sync without needing special access rights.
Original PR description
Because end users may not have config access rights. ticket 3647004