Daily updates from Odoo
Thursday, December 11, 2025
1 change · master
Code cleanup and technical improvements
This update streamlines maintenance request notifications by consolidating message logic and removing a redundant custom controller. The changes ensure consistent user feedback across Odoo, aligning with other key actions and improving the overall user experience.
Original PR description
_* = mrp_maintenance 1. Refactor Completion Notifications * Converted the constant notification message mapping into a getter method, as the constant was not reused elsewhere. This improves extensibility and allows easier overrides in inheriting modules. 2. Remove Custom Form Controller * This custom form controller was originally added to display a feedback notification when Maintenance Requests are successfully created from the shopfloor. After this PR (#76035), the action notification can now be handled directly there, making the custom controller unnecessary. * The notification message is also updated to use the correct phrasing, aligning it with Scrap and Quality Alert actions for consistent user feedback. This cleanup removes redundant code and keeps the notification logic in a single place, avoiding the need to maintain separate implementations across modules.