From 92e85ab4987d22d94bd2b45d5aa355c638ab42fa Mon Sep 17 00:00:00 2001 From: Ahmed AlBoori Date: Mon, 23 Feb 2026 11:08:31 +0100 Subject: [PATCH] Add missing key parameter to get_products in web shop 1cf6e5cb9e4f added the parameter but did not update the tax rule extension. Closes #14620 --- modules/web_shop/web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/web_shop/web.py b/modules/web_shop/web.py index 01b67f95ba..8e3ef38501 100644 --- a/modules/web_shop/web.py +++ b/modules/web_shop/web.py @@ -320,7 +320,7 @@ class Shop_ShipmentCost(metaclass=PoolMeta): class Shop_TaxRuleCountry(metaclass=PoolMeta): __name__ = 'web.shop' - def get_products(self, pattern=None): + def get_products(self, pattern=None, key=None): pattern = pattern.copy() if pattern is not None else {} if (self.warehouse and self.warehouse.address @@ -330,7 +330,7 @@ class Shop_TaxRuleCountry(metaclass=PoolMeta): else: pattern.setdefault('from_country') pattern.setdefault('to_country') - return super().get_products(pattern=pattern) + return super().get_products(pattern=pattern, key=key) class Shop_Warehouse(ModelSQL):