Wednesday, September 28, 2022
5 changes · master
Enhancements to existing features
The purchase requisition flow now uses a newer interface framework for comparing purchase order alternatives. This should make supplier comparison screens easier to reuse and refresh while preserving user choices and improving performance.
Original PR description
For original specs, see [1]. Some performance changes: the best price/date/unit price fields are now loaded by JS instead of passed via action context (allows for easier/ consistent reuse of view + now we can refresh without undoing any state changes due to buttons being pushed). [1] https://github.com/odoo/odoo/commit/f533e40f0e3f1cd34f1047b70dfdf95837d84501 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves how Odoo websites display and manage the cookie consent bar, giving visitors clearer control over cookie choices. It also aligns cookie behavior across related areas such as live chat, surveys, tracking, and website popups, helping businesses provide a more consistent visitor experience.
Original PR description
* Also affects http, base, web, utm WIP based on JKE's commit here: https://github.com/odoo-dev/odoo/commit/580a0d09
Odoo now allows parent screens to react when a form is saved or discarded, making it easier to keep related views and actions in sync. Stock replenishment screens and forecast widgets were also modernized internally, supporting a smoother and more maintainable user experience without changing core workflows.
Original PR description
Adds two new props in `form_controller` in order to call a function from the parent `Component` when the form view is saved/discarded.
This update brings the embedded spreadsheet tool up to its latest version, adding practical enhancements such as frozen panes and stacked line charts. It also improves collaboration, chart duplication behavior, notifications, and cursor handling, making spreadsheets more reliable and easier to use.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/758a22f6 [FIX] chart: allow plugins to react to chart duplication https://github.com/odoo/o-spreadsheet/commit/d8116451 [IMP] line charts: Introducing stacked line charts https://github.com/odoo/o-spreadsheet/commit/8a428d31 [IMP] spreadsheet: Introducing Frozen panes https://github.com/odoo/o-spreadsheet/commit/804a8a34 [IMP] notification: Add new notification type https://github.com/odoo/o-spreadsheet/commit/733d8ecf [REV] composer: bad cursor placement on focus https://github.com/odoo/o-spreadsheet/commit/6423a245 [FIX] collaborative: do not transform commands in other dimension
Spreadsheet templates are now loaded only when needed instead of being included upfront. This reduces the initial web asset size and can improve loading performance for users who do not immediately use spreadsheet features.
Original PR description
Since the split of components with their templates in dedicated file in https://github.com/odoo/o-spreadsheet/commit/10e1a0ca, the templates were eager-loaded. However, this had an impact on the size of the `assets_qweb` bundle. This commit introduces the lazy-loading of the `spreadsheet.o_spreadsheet` bundle since it is now achievable. Note that the test adaptation is temporary. It will be removed once https://github.com/odoo/enterprise/pull/30609 is merged. task 2896049