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:
Sagar Sharma 2022-11-25 11:19:01 +05:30 committed by GitHub
commit 722e29df5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {