Remove images when template is removed
issue10884 review350831002
This commit is contained in:
1 parent
fe842262b7
commit
8bfe1e6b28
1 file changed
+3
@@ -306,6 +306,9 @@ class Shop(metaclass=PoolMeta):
|
||||
template.set_shopify_identifier(self)
|
||||
for product in template.products:
|
||||
product.set_shopify_identifier(self)
|
||||
if hasattr(template, 'images'):
|
||||
for image in template.images:
|
||||
image.set_shopify_identifier(self)
|
||||
|
||||
def __shopify_update_images(self, template, shopify_product):
|
||||
if not hasattr(template, 'images'):
|
||||
|
||||
Reference in new issue
Block a user