This commit is contained in:
Rushabh Mehta 2015-10-14 15:33:14 +05:30
parent 6e322d0a02
commit fb73151da6
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -2286,4 +2286,4 @@
"read_only_onload": 0,
"search_fields": "item_name,description,item_group,customer_code",
"title_field": "item_name"
}
}