fb5015d5fceacb4da7f3a0527a61f28867656e0c
There was 2 issues regarding delivery price when the delivery was set to fixed price and free over a certain amount. 1. On /shop/payment step, such deliveries would have the fixed price shown on the badge, even if the sale order amount exceed the free over threshold. 2. When clicking on a delivery carrier, it is supposed to compute all the SO costs (delivery, taxes..) and display them. The delivery price selector would try to get the 'badge.hidden' element which never exists for fixed prices. Thus, it would not update the delivery badge price. Now: 1. If the free over threshold is met, we display 0$ instead of the fixed price by calling `rate_shipment`. Note that `rate_shipment` can't fail in case of a fixed rate (see method). The only failing case is if the customer country does not match the delivery allowed country, but such a flow is not possible as delivery shown during cart payment are already filtered by allowed countries. 2. The delivery value returned after clicking on the carrier is correctly updated on the badge. Fixes #31502 closes odoo/odoo#32938 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%