Daily updates from Odoo
Thursday, August 11, 2022
6 changes
Enhancements to existing features
Spreadsheet users can now apply a global filter directly from a pivot table header. This makes dashboard exploration faster by letting users filter reports from the data they are already viewing, either by clicking in dashboard mode or using a right-click option in editing mode.
Original PR description
### Task Description The aim of this task is to let the user toggle a global filter on a pivot field/value by clicking on a pivot header in a spreadsheet. Two ways of toggling this filter has been implemented : 1. In dashboard mode, by clicking on the header 2. In edition mode, by a right-click on the header, then selecting "Toggle global filter" ### Related tast - task-2870735 - SS PR : https://github.com/odoo/o-spreadsheet/pull/1548
This update removes unnecessary repeat checks after records are found, reducing extra database work. Users may see slightly faster responses in affected areas such as accounting, appointments, helpdesk, field service, and social integrations, with no expected change in behavior.
Original PR description
Making a `exists()` on a record got by a `search()` is useless and lead to a extra useless query. Remove them.
This update improves internal testing by making simulated browser environments share one mock server, closer to how multiple tabs work in real use. It helps ensure tests better reflect real-world behavior and reduces inconsistencies when validating multi-tab scenarios.
Original PR description
*: account_accountant, account_invoice_extract, documents, voip, web_studio. The pyEnv used during tests is based on the mock server to provide server like api. This issue is that when creating multiple environments during tests, a new mock server is created each time. This is not realistic since in a real world scenario, multiple tabs would share a single server. In order to make pyEnv work with multiple tabs tests (e.g. multiple env tests), let's create a single mock server shared between js environment during a test. task-2053917 community: https://github.com/odoo/odoo/pull/97975
The rental schedule report is easier to read by removing product thumbnails and showing total product quantities where stock-based rental details are used. This helps teams review rental planning faster and compare quantities without visual clutter.
This update refreshes the spreadsheet component with several small fixes and usability improvements. Users should see more reliable spreadsheet formulas and formatting, clearer scorecards, and smoother menu and side panel interactions.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/cd7691c3 [IMP] menu: keep menu highlighted when submenu is opened https://github.com/odoo/o-spreadsheet/commit/39337c15 [IMP] formulas: add unit parameter to LARGE_NUMBER_FORMAT https://github.com/odoo/o-spreadsheet/commit/1dc2ac2a [FIX] tests: wrong scorecard data https://github.com/odoo/o-spreadsheet/commit/2c865979 [FIX] conditional formats: color scale breaks with error cell https://github.com/odoo/o-spreadsheet/commit/cfaee941 [FIX] composer: grid composer missing CF style https://github.com/odoo/o-spreadsheet/commit/9b10b2e2 [FIX] function: logical function "AND" traceback https://github.com/odoo/o-spreadsheet/commit/8731f3ec [IMP] side panel: prevent user text selection https://github.com/odoo/o-spreadsheet/commit/498c1d14 [FIX] scorecard: high contrast color on titles/descriptions
This change improves how manufacturing planning finds bill of materials information by caching repeated lookups. It should help planning screens respond more efficiently when working with production data, without changing day-to-day user workflows.