Tuesday, November 28, 2023
8 changes · 17.0
Enhancements to existing features
The online shop page has been optimized to avoid unnecessary product tag, price, attribute filter, and wishlist checks during page loading. This should make browsing the shop noticeably faster, especially for stores with many products or wishlist functionality enabled.
Original PR description
--- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the speed of opening Discuss and the messaging menu, especially for users with many failed messages, pinned conversations, or large group chats. By reducing unnecessary background recalculations, initial loading time in a medium test database dropped from about 12 seconds to about 1 second.
Original PR description
[PERF] mail: faster load of discuss at init messaging - Messaging menu was slow when there are many mail failures - Discuss app is slow whenever there are many pinned threads - Initial page load was…
[PERF] mail: faster load of discuss at init messaging - Messaging menu was slow when there are many mail failures - Discuss app is slow whenever there are many pinned threads - Initial page load was slow when pinned threads were group chats with hundreds of members All these performance issue come from aggressively eager call to reactive callbacks, which `onChange()` and `compute()` were relying on. This commits fixes the performance issue with: - Update cycle in `@mail/record`, which calls eager computed fields and onChange at the end of an update transaction in discuss models, so that computation is called only once rather than many times (while only the later value matter) - Add support for lazy computed fields (which they are by default), so that computed fields are only computed when needed. - Add support for sorted many fields, which also follow the update cycle and eager/lazy mode of field. This makes sorting operation on many fields efficient and preserves eventual correctness of expected order of items in these relational fields. With module `contacts` installed and populate `--size="medium"`, init_messaging and mail_failures took 12sec. for Mitchell Admin. With this commit, this has been reduced to 1sec. https://github.com/odoo/enterprise/pull/51410
This update expands internal code checking rules so they cover all point of sale modules, helping developers catch issues more consistently. It also adds a helper script to list point of sale modules, making future maintenance easier without changing the user experience.
Original PR description
In this commit we update the lists of modules from `_eslintignore` and `jsonconfig.json` such that they now contain all pos modules. In addition, we also create script in the `tools` directory of pos that returns a list of all the pos modules. This list is often very useful. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Danish localization is updated to support reporting based on accounting tags rather than fixed account codes. This helps companies align existing charts of accounts with Danish Bookkeeping Act requirements and improves compliance for balance sheet and profit-and-loss reporting.
Original PR description
To be approved for the bookkeeping act, we need to generate reports based on tags instead of account codes. It allows users to link their existing CoA to the one we decide. To do it, they can add the right tags on their own accounts. This commit adds necessary tags to handle auto generated accounts (like suspense account) and assigns these tags to the right account. task-id: 3593634 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The quotation template and sales order forms now present prepayment, online signature, and payment details in a clearer layout. Labels and field placement were adjusted to make quotation setup easier to read and complete for users.
Original PR description
**Version:** - 17.0 **Improvement:** With this PR, we have improved the UI for the Prepayment amount field in both the quotation template form view and the Sale order form view. The changes have made it easier for users to input and review information. Current behavior before PR: - The online signature and payment fields are on the left side in the Quotation Template's form view. Desired behavior after PR is merged: - Change the label from "Quotation expires after" to "Quotation Validity" - To ensure a smooth flow of data, the online signature and payment fields are placed on the right side in the Quotation Template's form view with a single line. And also improve the Sale order's form view. task-3546106 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Danish financial reporting system has been updated to generate reports based on account tags rather than account codes. This change enables users to map their existing chart of accounts to the required Danish format by simply adding the appropriate tags to their accounts, making the system more flexible and compliant with Danish bookkeeping regulations.
Original PR description
To be approved for the bookkeeping act, we need to generate reports based on tags instead of account codes. It allows users to link their existing CoA to the one we decide. To do it, they can add the right tags on their own accounts. task-id: 3593634
This update improves the Austrian localization module with enhanced financial reports, better data organization, and fixes for balance sheet calculations. The changes ensure Austrian companies can generate more accurate and detailed financial statements, including proper handling of positive and negative balances and EC sales list reporting.
Original PR description
Description of the issue/feature this PR addresses: Several fixes and updates for the not yet complete Austrian Localization, started to prepare in Valencia on the OCA Code Sprint. Should be merged and is dependent on https://github.com/odoo/odoo/pull/134959 Info: @wt-io-it Forward-Port-Of: odoo/enterprise#50608 Forward-Port-Of: odoo/enterprise#47198
This update significantly improves the speed of loading the messaging menu and discussion app in Odoo. The system was slow when handling many mail failures, pinned conversations, or group chats with large member lists. By optimizing how the system processes updates and calculations, initial page load time has been reduced from 12 seconds to 1 second, making the messaging experience much faster for users.
Original PR description
[PERF] mail: faster load of discuss at init messaging - Messaging menu was slow when there are many mail failures - Discuss app is slow whenever there are many pinned threads - Initial page load was…
[PERF] mail: faster load of discuss at init messaging - Messaging menu was slow when there are many mail failures - Discuss app is slow whenever there are many pinned threads - Initial page load was slow when pinned threads were group chats with hundreds of members All these performance issue come from aggressively eager call to reactive callbacks, which `onChange()` and `compute()` were relying on. This commits fixes the performance issue with: - Update cycle in `@mail/record`, which calls eager computed fields and onChange at the end of an update transaction in discuss models, so that computation is called only once rather than many times (while only the later value matter) - Add support for lazy computed fields (which they are by default), so that computed fields are only computed when needed. - Add support for sorted many fields, which also follow the update cycle and eager/lazy mode of field. This makes sorting operation on many fields efficient and preserves eventual correctness of expected order of items in these relational fields. With module `contacts` installed and populate `--size="medium"`, init_messaging and mail_failures took 12sec. for Mitchell Admin. With this commit, this has been reduced to 1sec. https://github.com/odoo/odoo/pull/143382