Daily updates from Odoo
Friday, March 6, 2026
4 changes · master
Enhancements to existing features
This update improves the accuracy of employee payroll data by adding three new fields to DMFA work locations. These changes automatically populate related competence information, streamlining payroll processing and ensuring data consistency. This enhancement supports compliance with Belgian payroll regulations.
Original PR description
This commit aims to add 3 new fields on the DMFA work locations, some data is updated accordingly to prefill competence field on existing data task-5979423
This update makes it easier for users to add sign templates to offers. Now, when no templates exist, a clear warning message with an upload button guides them to set up their first template. This eliminates the previous manual process of adding PDFs, creating a more streamlined workflow.
Original PR description
Before this PR, if no PDF was uploaded, users had to add it manually. In this PR, - If no Sign templates exist in the system, show a blue warning message: "No templates are configured yet. Do you want to set up the first one?" - The warning includes an Upload PDF button. - When no Contract Template is selected, show an Upload PDF button next to the field. Impact - Users can now add a PDF Sign Template directly from the Offer, without needing an existing Contract Template first. This provides a smoother and more intuitive experience. task-5358196
This update streamlines testing for the `mrp_workorder` module by running tests after other modules are installed, speeding up the process. Additionally, a fix resolves an access issue preventing workorder cancellation for users without full accounting permissions, and removes an obsolete quality override.
Original PR description
The main change is to set `mrp_workorder` tests as `post_install`. Other commits are fixes that emerged from trying to run those tests with other modules installed.
This update adjusts how holiday pay is recovered, ensuring accurate calculations since 2024. A final regularization step in December or upon termination corrects any imbalances, proportionally based on actual holiday days taken. This improves the accuracy of payroll reporting and financial reconciliation.
Original PR description
Since 2024, holiday pay recovery is calculated as a fixed 90% of the daily salary and is no longer capped monthly by the total debt. A final regularization is now performed in December or upon…
Since 2024, holiday pay recovery is calculated as a fixed 90% of the daily salary and is no longer capped monthly by the total debt. A final regularization is now performed in December or upon termination to balance the account. - **Recovery Logic:** Updated the monthly recovery rule to deduct only 90% of the holiday pay amount without capping it by the `to_recover` balance. - **December or termination Regularization:** Added new salary rules (`HolPayRegN`, `HolPayRegN1`) running only in December or upon employee termination to calculate the difference between the target amount and the amount actually recovered. The regularization is calculated proportionally to the holiday days actually taken. * Example: If an employee takes only 2 out of 10 accrued days, we regularize based on 1/5th of the full certificate amount. - **DMFA Mapping:** Updated the DMFA report to dynamically assign the regularization amount: - **Code 12:** If further recovery is needed (Negative amount). - **Code 14:** If a reimbursement is due to the employee (Positive amount). - **Deterministic Grouping:** Ensured that employees grouped by NISS are sorted by ID during DMFA generation. Task: 5419509