details:   https://code.tryton.org/tryton/commit/9ff4a22447cc
branch:    8.0
user:      Cédric Krier <[email protected]>
date:      Thu Jul 30 16:37:30 2026 +0200
description:
        Clear Shopify ID for product template no more found on Shopify

        If the Shopify ID of a template can not be found on Shopify, there is 
no need
        to keep it as we could not reactivate the Shopify product it is added 
back.

        Closes #14980
        (grafted from eb5fcd8c8ed278f9eba8f65e89f07dd3beafe4c3)
diffstat:

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

diffs (12 lines):

diff -r 9a5fc16b48b6 -r 9ff4a22447cc modules/web_shop_shopify/web.py
--- a/modules/web_shop_shopify/web.py   Wed Jul 29 19:30:48 2026 +0200
+++ b/modules/web_shop_shopify/web.py   Thu Jul 30 16:37:30 2026 +0200
@@ -666,6 +666,8 @@
                             'web_shop_shopify.msg_product_fail',
                             template=template.rec_name,
                             error=e.message)) from e
+            else:
+                template.set_shopify_identifier(self)
 
     @classmethod
     def shopify_update_inventory(cls, shops=None):

Reply via email to