Friday, January 28, 2022
9 changes · master
Enhancements to existing features
Product-related screens were reorganized to remove duplicate or unused view customizations and make tab and button ordering more consistent across apps. This should make product forms easier to maintain and reduce the risk of inconsistent behavior between product variants and templates, with minimal visible change for users.
Original PR description
## Product views cleanup * Remove duplicate `product.product/product.template` views which should only extend the common view of product.product and product.template once instead of extending once both extensions of the shared view. * Remove views extension without any impact. * Cleanup inheritance targets: the inherited view should contain the targeted modified elements, not its children. * Cleanup View ordering : * Remove ugly `sale_stock` hack to put sales statbutton after stock ones * Use generic priority values to order the product views inheritance #### Incoherences found : - stock : orderpoint access visible only for storable products on product view while it is visible for storable and consumable products on template view. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change adds supporting accounting fields that make it easier to address performance issues in Aged Receivable reporting. It is an internal improvement intended to help accounting reports run more efficiently without changing day-to-day user workflows.
Original PR description
it simplifies fixing performance issues with Aged Receivable task-2737991 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
The mail message list now calculates its scroll position in a more central place, helping conversations keep the expected position as messages are displayed. This improves the reliability and consistency of the messaging experience without changing user workflows.
Original PR description
task-2579306
Debug-mode access error messages now include the related company name when company-based record rules block records. This helps users and support teams identify which company context to switch to more quickly, while some unused internal rule code was also cleaned up.
Original PR description
In debug mode, when a company ir.rule raise a exception for one or multiple records, a feedback message is display with limited records information. Add company name to these information to help the user to change his current company to the correct one directly. task-2628865
This update standardizes how database indexes are named and handled across several Odoo apps. It also avoids installing the PostgreSQL trigram extension unless it is actually needed, reducing unnecessary setup work while keeping search-related performance support available.
Original PR description
Followup of #83015. The possible values for parameter `index` are now: `"btree"`, `"btree_not_null"` and `"trigram"`. Task 2742526
The mail discussion area now uses a clearer internal structure for dialogs, such as attachment previews. This makes the feature easier to maintain and should support more reliable future improvements without changing the user experience directly.
Original PR description
Properly define relational fields as owner/owning/content. For instance, with viewing attachment in a dialog, the modelling looked roughly like this before the commit: ``` attachment_viewer <----> dialog ``` - where attachment viewer owns dialog This commit changes it to: ``` attachment (image/card) ------> dialog <------> attachment_viewer ``` - where attachment (image/card) owns the dialog, and dialog has attachment viewer as content These changes should make modelling of dialog feels more natural. Task-2738648
Timezone options now show their UTC offset alongside the location name, such as "(UTC+02:00) Europe/Brussels". This makes it easier for users to choose the correct timezone and avoid confusion across regions.
Original PR description
Purpose ======= Display all timezones in Format "(UTC+02:00) Europe/Brussels" instead of just showing "Europe/Brussels". Upgrade: odoo/upgrade/pull/2954 Enterprise: odoo/enterprise/pull/21824 Task-2672237
Mail and snailmail dialog components were updated behind the scenes to support a future framework upgrade. This helps keep messaging features maintainable and reduces upgrade risk without changing the user experience.
Original PR description
In preparation to using OWL 2 in discuss code. Task-2738648
Several product-related screens were simplified by removing duplicate or unnecessary view customizations across enterprise apps. This reduces inconsistencies between product and product template screens, making product setup and related actions more predictable for users.
Original PR description
Remove duplicate product/template views which should only extend the common view of product.product and product.template . Remove views extension without any impact. Incoherences found : - stock : orderpoint access visible only for storable products on product view while it is visible for storable and consumable products on template view. - Enterprise/quality_control : stat buttons are accessible on product.product even if product isn't storable/consumable. Enterprise counterpart of https://github.com/odoo/odoo/pull/35774