From a1b80e1af583a5260596d074483f3e0e0ba4f31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 4 Sep 2025 10:37:26 +0200 Subject: [PATCH] Use the presentment currency of the Shopify order for the sale currency Closes #14214 --- modules/web_shop_shopify/sale.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/web_shop_shopify/sale.py b/modules/web_shop_shopify/sale.py index fdac0ee5f6..43e7d4314d 100644 --- a/modules/web_shop_shopify/sale.py +++ b/modules/web_shop_shopify/sale.py @@ -73,9 +73,9 @@ class Sale(IdentifierMixin, metaclass=PoolMeta): if shop_warehouse.shopify_id == str(order.location_id): sale.warehouse = shop_warehouse.warehouse break - if sale.currency.code != order.currency: + if sale.currency.code != order.presentment_currency: sale.currency, = Currency.search([ - ('code', '=', order.currency), + ('code', '=', order.presentment_currency), ], limit=1) if sale.party != shop.guest_party: