fix: MR Item description and item_name gets reset on qty change

This commit is contained in:
s-aga-r 2022-11-25 20:42:57 +05:30
parent a3c81da890
commit df0fee2312

View File

@ -370,9 +370,6 @@ frappe.ui.form.on("Material Request Item", {
if (flt(d.qty) < flt(d.min_order_qty)) {
frappe.msgprint(__("Warning: Material Requested Qty is less than Minimum Order Qty"));
}
const item = locals[doctype][name];
frm.events.get_item_data(frm, item, false);
},
from_warehouse: function(frm, doctype, name) {