Wednesday, September 28, 2022
7 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
Users can now search custom property fields from filters and the main search bar, making it easier to find records using business-specific information. Selected properties can also be displayed on kanban cards, while backend performance is improved by reducing database queries when properties are loaded in batches.
Original PR description
Purpose ======= Check the existence of the relational properties (many2one / many2many) in batch and prefetch the values in batch as well to reduce the number of SQL queries. Allow to search properties. Allow to add the properties field in the kanban view. An option has been added in the property definition, "View In Kanban", to decide which field must be visible in the kanban view.
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
Users can now start creating a payment batch directly from the payments list after selecting at least one payment. This makes batch payment creation easier to find and reduces extra navigation for finance teams.
Original PR description
Add a secondary "call to action" : Create Batch in payments tree view. Visible when min. 1 payment is selected in the list. task-2897152