diff --git a/erpnext/patches/v6_4/make_image_thumbnail.py b/erpnext/patches/v6_4/make_image_thumbnail.py index 60219e42df9..1daaede0c3a 100644 --- a/erpnext/patches/v6_4/make_image_thumbnail.py +++ b/erpnext/patches/v6_4/make_image_thumbnail.py @@ -9,6 +9,6 @@ def execute(): try: item_doc.make_thumbnail() if item_doc.thumbnail: - item_doc.db_set("thumbnail", item_doc.thumbnail) + item_doc.db_set("thumbnail", item_doc.thumbnail, update_modified=False) except Exception: print "Unable to make thumbnail for {0}".format(item.website_image) diff --git a/erpnext/stock/doctype/item/item.json b/erpnext/stock/doctype/item/item.json index fcb696a9127..7d314d2c810 100644 --- a/erpnext/stock/doctype/item/item.json +++ b/erpnext/stock/doctype/item/item.json @@ -2286,4 +2286,4 @@ "read_only_onload": 0, "search_fields": "item_name,description,item_group,customer_code", "title_field": "item_name" -} \ No newline at end of file +}