details:   https://code.tryton.org/tryton/commit/352f0eb56786
branch:    8.0
user:      Cédric Krier <[email protected]>
date:      Tue Jul 14 17:07:07 2026 +0200
description:
        Update Shopify product if any variant of the product has been removed

        Closes #14955
        (grafted from 4b3c250361bcf6ba7289665e2ca6ccf9b19ef939)
diffstat:

 modules/web_shop_shopify/web.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0b09a12fe165 -r 352f0eb56786 modules/web_shop_shopify/web.py
--- a/modules/web_shop_shopify/web.py   Fri Jul 17 22:11:32 2026 +0200
+++ b/modules/web_shop_shopify/web.py   Tue Jul 14 17:07:07 2026 +0200
@@ -519,7 +519,7 @@
                 for prod, s_p, s_t, p, t in zip(
                     products, sale_prices, sale_taxes, prices, taxes))
             or any(
-                prod in self.products_removed for prod in products))
+                prod in self.products_removed for prod in template.products))
 
     def _shopify_update_product(
             self, shopify_shop, categories, template, products,

Reply via email to