mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-12 17:51:20 +00:00
stock entry: get item details
This commit is contained in:
@@ -445,10 +445,11 @@ cur_frm.cscript.item_code = function(doc, cdt, cdn) {
|
|||||||
args: args,
|
args: args,
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if(r.message) {
|
if(r.message) {
|
||||||
|
var d = locals[cdt][cdn];
|
||||||
$.each(r.message, function(k, v) {
|
$.each(r.message, function(k, v) {
|
||||||
d[k] = v;
|
d[k] = v;
|
||||||
});
|
});
|
||||||
refresh_field('items');
|
refresh_field("items");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user