Merge pull request #33090 from s-aga-r/fix/github-issue/20496
fix: MR Item `item_name` and `description` gets reset on `qty` change
This commit is contained in:
commit
722e29df5c
@ -370,9 +370,6 @@ frappe.ui.form.on("Material Request Item", {
|
|||||||
if (flt(d.qty) < flt(d.min_order_qty)) {
|
if (flt(d.qty) < flt(d.min_order_qty)) {
|
||||||
frappe.msgprint(__("Warning: Material Requested Qty is less than Minimum 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) {
|
from_warehouse: function(frm, doctype, name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user