stock entry: get item details
This commit is contained in:
parent
866e9047b0
commit
fe8d107731
@ -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");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user