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
This commit is contained in:
Cédric Krier
2026-07-30 16:37:30 +02:00
parent 1e2c1ab795
commit 4bd7cfa657
+2
View File
@@ -666,6 +666,8 @@ class Shop(metaclass=PoolMeta):
'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):