[fix] hub get_item_details (#11383)

This commit is contained in:
Faris Ansari
2017-10-31 13:00:09 +05:30
committed by Rushabh Mehta
parent dd0bdc7fa6
commit 40611e4f69
2 changed files with 4 additions and 1 deletions

View File

@@ -382,6 +382,7 @@ erpnext.hub.Hub = class Hub {
},
method: "erpnext.hub_node.get_item_details",
callback: (r) => {
if (!r || !r.message) return;
let item = r.message;
this.item_cache[item_code] = item;
this.render_item_page(item);