From 381703a194176ffd29c2c3c877a3ff92c98c7a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 19 Jan 2026 19:05:51 +0100 Subject: [PATCH] Clear any default incoterm for sale created for web shop The default incoterm may prevent to save the sale. So we let the quotation transition set the incoterm values. Closes #14521 --- modules/incoterm/web.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/incoterm/web.py b/modules/incoterm/web.py index 86c14cc731..4122897640 100644 --- a/modules/incoterm/web.py +++ b/modules/incoterm/web.py @@ -30,3 +30,8 @@ class Shop(metaclass=PoolMeta): @fields.depends() def _get_incoterm_pattern(self): return {} + + def get_sale(self, party=None): + sale = super().get_sale(party=party) + sale.incoterm = sale.incoterm_location = None + return sale