details: https://code.tryton.org/tryton/commit/d4f1e36b3d41
branch: 7.8
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 19c10a875f59 -r d4f1e36b3d41 modules/web_shop_shopify/web.py
--- a/modules/web_shop_shopify/web.py Mon Jul 27 10:39:01 2026 +0200
+++ b/modules/web_shop_shopify/web.py Thu Jul 30 16:37:30 2026 +0200
@@ -603,6 +603,8 @@
template=template.rec_name,
error="\n".join(
err['message'] for err in e.errors))) from e
+ else:
+ template.set_shopify_identifier(self)
@classmethod
def shopify_update_inventory(cls, shops=None):