diff --git a/stock/doctype/item/item.js b/stock/doctype/item/item.js index fa42129ce83..acc78e77dc5 100644 --- a/stock/doctype/item/item.js +++ b/stock/doctype/item/item.js @@ -153,3 +153,7 @@ cur_frm.cscript.copy_from_item_group = function(doc) { cur_frm.refresh(); }); } + +cur_frm.cscript.image = function() { + refresh_field("image_view"); +} \ No newline at end of file