Daily updates from Odoo
Tuesday, April 9, 2019
6 changes
Enhancements to existing features
The website shop now avoids unnecessary cart and pricing checks when visitors browse without an active cart. This reduces database work on every page load, making pages load faster for public visitors.
Original PR description
website_sale adds a call to `sale_get_order` to website.layout, and thus every page on the website (to display the shopping cart state). Before this, that results in a call to `get_pricelist_available` on every page load, even for a public user with no cart (/SO). This, in turn, triggers 2 different computations of property_product_pricelist with an overhead of ~20 queries, for 20ms (total) / 10ms (sql). Instead, if the user doesn't have a cart and we're not in a case of needing to create one, just early return without messing about with pricelists. Loading "/" with just website_sale installed on a new DB, - before: 53 queries, 31ms ±5 (sql), 75ms ±5 (all) - after: 32 queries, 21ms ±1 (sql), 53ms ±3 (all)
Pricelist forms now allow users to directly edit multiple prices for products, making price management faster and more convenient. These changes are also reflected on product records, helping keep pricing information consistent across the system.
Original PR description
Task:https://www.odoo.com/web#id=1904777&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad:https://pad.odoo.com/p/r.7c36cb00cfa2f925896a6f9131e5880e -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Customers are now informed directly on the payment form when a selected payment provider adds extra fees. This improves price transparency before checkout or invoice payment, reducing surprises and support issues.
Original PR description
Description of the issue/feature this PR addresses: - Task - https://www.odoo.com/web#id=1845815&action=327&model=project.task&view_type=form&menu_id=4720 - Pad - https://pad.odoo.com/p/r.46398252f0f3bd6166bd7d5b30c0b183 Current behavior before PR: - Customer was not getting any warning regarding the extra fees taken by the payment acquirer. Desired behavior after PR is merged: - Customer will be notified on the **payment form** regarding extra fees taken by the payment acquirer. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Studio no longer offers grid views for creation or editing because they require specific business logic to work properly. When users open Studio from an existing grid view, they are redirected to the Views menu instead, preventing unsupported read-only configurations.
Original PR description
Task link : https://www.odoo.com/web?debug#id=1895408&action=327&model=project.task&view_type=form&menu_id=4720 Pad link : https://pad.odoo.com/p/r.03fb1819654d6a0dc1959cc569f6a672 User should not be allow to activate studio on Gridview. This commit is related to task ID 1895408
Customers will now see a notice on the payment form when a payment provider may charge extra fees. This improves transparency before payment confirmation and helps reduce surprises or complaints related to subscription payments.
Original PR description
Description of the issue/feature this PR addresses: - Task - https://www.odoo.com/web#id=1845815&action=327&model=project.task&view_type=form&menu_id=4720 - Pad - https://pad.odoo.com/p/r.46398252f0f3bd6166bd7d5b30c0b183 Current behavior before PR: - Customer was not getting any warning regarding the extra fees taken by the payment acquirer. Desired behavior after PR is merged: - Customer will be notified on the **payment form** regarding extra fees taken by the payment acquirer. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo Studio now makes selection field values easier to enter and manage by showing them as an editable list with a clear option. When users confirm the dialog, the last entered value is saved automatically, reducing confusion and missed entries.
Original PR description
**Improvement in studio selection field values:** Editable list in place of inpute zone in selection field Confirm button will add last record Clear field is added on pressing cross icon Task link : https://www.odoo.com/web#id=1931579&action=327&model=project.task&view_type=form&menu_id=4720 Pad link: https://pad.odoo.com/p/r.0e536f77bfa238db08ed39af3ae54c6d