Friday, March 10, 2023
8 changes · master
Code cleanup and technical improvements
This update replaces older internal communication methods in the Point of Sale system with a newer service-based approach. It helps reduce reliance on legacy infrastructure, making future maintenance and improvements easier without changing day-to-day cashier workflows.
Original PR description
*: l10n_co_pos, l10n_fr_pos_cert, point_of_sale, pos_loyalty, pos_mercury, pos_restaurant, pos_sale, pos_sale_product_configurator This is a step in the direction of making the pos no longer depend on the legacy environment.
This change updates how the web interface checks whether certain record fields should be hidden, making that logic more self-contained and consistent. It is an internal cleanup with no expected change to day-to-day user workflows.
Original PR description
This commit changes the function isInvisible visibility to private on the record, this means that outside the record, the modifiers need to be evaluated. Part-of task-id 3179751 Co-authored-by: Aaron Bohy <aab@odoo.com>
Delivery features linked to inventory have been separated into their own stock delivery area, while the core delivery app remains focused on delivery setup. This makes the system easier to maintain and reduces overlap between sales, delivery, and inventory functionality without introducing a major user-facing change.
This change restructures the web app's internal model communication so it can support a more reactive interface in future improvements. It preserves existing behavior while moving event handling to a dedicated mechanism, reducing technical constraints in core web views and related fields.
Original PR description
In order to make the model reactive, it must not be an EventBus. An EventBus cannot be reactive. So we will add a key bus to the model that will always trigger all events that were triggered on the model before. Part of task 3179751 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change restructures how internal screen data communicates updates so the application can become more responsive over time. It preserves existing behavior while preparing accounting and timesheet-related screens for future improvements.
Original PR description
In order to make the model reactive, it must not be an EventBus. An EventBus cannot be reactive. So we will add a key bus to the model that will always trigger all events that were triggered on the model before. Part of task 3179751
This update removes outdated view support now that the remaining older grid view technology has already been retired. It simplifies the underlying platform and helps keep future interface development focused on the newer framework, with limited direct impact for most business users.
Original PR description
This commit is the counterpart of odoo/odoo#114893, where we remove the support of legacy views, following the removal of the grid view, the last non owl view, from the codebase [1]. [1] odoo/enterprise#35217
This update refactors how planning calendar popover visibility rules are handled behind the scenes. It keeps the same user experience while improving code organization and reducing reliance on internal record details.
Original PR description
…ecord This commit changes the function isInvisible visibility to private on the record, this means that outside the record, the modifiers need to be evaluated. Part-of task-id 3179751 Co-authored-by: Aaron Bohy <aab@odoo.com>
This update modernizes several Point of Sale components by replacing older internal communication methods with a newer service approach. It helps reduce reliance on outdated infrastructure, improving maintainability without changing day-to-day user workflows.
Original PR description
*: l10n_de_pos_cert,l10n_de_pos_res_cert, pos_l10n_se, pos_preparation_display This is a step in the direction of making the pos no longer depend on the legacy environment.