Skip to content

Commit

Permalink
fix: MR Item description and item_name gets reset on qty change
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r committed Nov 24, 2022
1 parent a3c81da commit df0fee2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions erpnext/stock/doctype/material_request/material_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit df0fee2

Please sign in to comment.