details: https://code.tryton.org/tryton/commit/eb5fcd8c8ed2
branch: default
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
diffstat:
modules/web_shop_shopify/web.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 313b466eb1c5 -r eb5fcd8c8ed2 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):