From 8227422124dd2622474010d296881be9fbeec609 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Wed, 18 Oct 2017 16:03:26 +0530 Subject: [PATCH] [fix] remove explicit variant save --- erpnext/patches/v9_0/set_variant_item_description.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/erpnext/patches/v9_0/set_variant_item_description.py b/erpnext/patches/v9_0/set_variant_item_description.py index 8093b04e2f..fdc4fc781a 100644 --- a/erpnext/patches/v9_0/set_variant_item_description.py +++ b/erpnext/patches/v9_0/set_variant_item_description.py @@ -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() \ No newline at end of file + variant.db_set('description', temp_variant_description, update_modified=False) \ No newline at end of file