[fixes]
This commit is contained in:
parent
6e322d0a02
commit
fb73151da6
@ -9,6 +9,6 @@ def execute():
|
|||||||
try:
|
try:
|
||||||
item_doc.make_thumbnail()
|
item_doc.make_thumbnail()
|
||||||
if item_doc.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:
|
except Exception:
|
||||||
print "Unable to make thumbnail for {0}".format(item.website_image)
|
print "Unable to make thumbnail for {0}".format(item.website_image)
|
||||||
|
@ -2286,4 +2286,4 @@
|
|||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
"search_fields": "item_name,description,item_group,customer_code",
|
"search_fields": "item_name,description,item_group,customer_code",
|
||||||
"title_field": "item_name"
|
"title_field": "item_name"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user