Files
odoo_source/addons/website_sale_delivery/views
Goffin Simon eadcfaeb57 [FIX] website_sale_delivery: Wrong shipping price displayed
Steps to reproduce the bug:

- Let's consider a company C in €
- Let's consider two selectable pricelists P1 in € and P2 in $
- The € rate is 1.0 and the $ rate is 0.5
- Configure a shipping method SM with a fixed price of 100€ and free if the price is
above 1000€.
- Configure a free delivery product P with sales price = 100€
- Go to the shop with P2 as pricelist and add in the cart any product which price is less
than 1000€ (in this case 500$)
- Process your order until the check out

Bug:

The price of SM was 25$ instead of 50$ because the function rate_shipment already computed
the price in the right currency

opw:2239117

closes odoo/odoo#49987

X-original-commit: 68b08164e5de353ea0c48de92d0c0e028b49bc52
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2020-04-22 13:30:22 +00:00
..