stock entry: get item details

This commit is contained in:
Nabin Hait 2015-05-22 18:04:35 +05:30
parent 866e9047b0
commit fe8d107731

View File

@ -445,10 +445,11 @@ cur_frm.cscript.item_code = function(doc, cdt, cdn) {
args: args,
callback: function(r) {
if(r.message) {
var d = locals[cdt][cdn];
$.each(r.message, function(k, v) {
d[k] = v;
});
refresh_field('items');
refresh_field("items");
}
}
});