Friday, July 9, 2021
5 changes · master
Enhancements to existing features
Odoo now uses its own response system for redirects across many apps, making redirects more consistent and easier to customize. This also improves handling of language-aware website links and standardizes redirect behavior for login, email, calendar, payment, and related flows.
Original PR description
This branche replace werkeug.utils.redirect into odoo.http.redirect. odoo.http.redirect now use an http.Response type, and it become easy to add an override like 'set_cookies' e.g. 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
Dynamic product snippets on the website now show discounted prices consistently with regular product listings. Customers can see both the reduced price and the original strikethrough price in relevant snippets, making promotions clearer while browsing.
Original PR description
Show discount on product for the dynamic product snippet. The discount is displayed the same way it is for website_sale.product_item: the price with the discount and the price without discount in red and strikethroughed next to the other price. The discount is displayed for all the snippet templates displaying a price: 'Add Product to Cart', 'Detailed Product' and 'Image with price'. task-2519662 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
Point of Sale payments now store the related company information directly, making company-based checks much faster on large databases. This improves performance for payment total calculations without changing the user workflow.
Original PR description
it speeds up checking multi-company rule, partically, computed field `total_payments_amount` works faster in large databases: 2,8 sec -> 0,01 sec (see fe3e84085fc9446fb2b745d99df341de980a92c0 ) 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
This update prevents keyboard shortcuts tied to hidden page elements from being triggered, reducing accidental actions. It also makes the shortcut overlay key configurable, giving administrators and developers more flexibility in how shortcuts are displayed and used.
Original PR description
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 asset Kanban view now shows more useful information in a layout better suited to mobile screens. This helps users review and manage asset records more easily when working away from a desktop.
Original PR description
This task aims to improve the Kanban view of the assets for its use on mobile, by giving more relevant information to the user. Task id #2531143