Monday, January 23, 2023
3 changes
Code cleanup and technical improvements
The point of sale enterprise modules were updated to use the standard Odoo approach for extending screens, models, and components instead of a custom registry system. This is an internal cleanup that should make future maintenance easier and reduce onboarding complexity for developers, without changing day-to-day POS behavior for users.
Original PR description
*: l10n_de_pos_cert, l10n_de_pos_res_cert, pos_hr_mobile, pos_iot, pos_l10n_se, pos_restaurant_iot, pos_settle_due Previously, the point of sale module used a custom inheritance system for models and components. This system being non-standard, it makes it hard for newcomers to understand how to use it or for people with experience in the pos code base to understand how things are done elsewhere. The corresponding community commit removes the "registries" system from the pos modules this commit adapts enterprise code to use standard inheritance mechanisms, ie extending classes directly, and using patch to modify behaviour in place. task-3119628 Co-authored-by: Samuel Degueldre <sad@odoo.com> Community: https://github.com/odoo/odoo/pull/109928
This update removes an outdated internal setting from the Planning app that is no longer needed. It helps keep the application easier to maintain without changing how users work with planning views.
Original PR description
It appears that one usage of the legacy_list js class remains in planning but is not needed, this commit removes that usage.
This update simplifies how Odoo prepares and renders email templates and composer content in several apps. It helps keep mail-related behavior more consistent and easier to maintain, with limited direct impact on day-to-day users.