Daily updates from Odoo
Wednesday, May 6, 2026
2 changes
Code cleanup and technical improvements
This update enhances the planning module by changing the `im_status` field from a text box to a predefined selection. This ensures data consistency and aligns with recent changes in the system's logic, preventing incorrect status entries. Unnecessary related fields have also been removed to streamline the module.
Original PR description
Community PR: https://github.com/odoo/odoo/pull/261748 Upgrade PR: https://github.com/odoo/upgrade/pull/10120 This commit converts the `im_status` field from Char to Selection. Because recent refactors restrict this field to a finite set of expected values, using a Selection type better enforces our business logic. This commit also removes unused related fields to `im_status`.
This update removes a redundant field from salary attachments, streamlining calculations and ensuring all amounts are consistently displayed with the correct positive or negative signs. This change improves the accuracy of payroll reports and payment processing, addressing a potential source of calculation errors.
Original PR description
The is_refund field on the salary attachments is used in order to keep all the values (i.e. monthly_amoun, remaining_amount, total_amount etc.) positive and add the negative sign when needed. Here we refactor the code so that we have the amounts with the correct sign all the time. Task: 6110407