Merge pull request #11245 from saurabh6790/item_variant_description_fix

[fix] remove explicit variant save
This commit is contained in:
Saurabh 2017-10-18 16:08:23 +05:30 committed by GitHub
commit 9cb817874d

View File

@ -41,7 +41,4 @@ def execute():
variant.db_set('description', variant_description, update_modified=False)
else:
variant.db_set('description', temp_variant_description, update_modified=False)
variant.flags.ignore_permissions=True
variant.save()
variant.db_set('description', temp_variant_description, update_modified=False)