Skip to content

Commit

Permalink
Merge pull request #38720 from s-aga-r/FIX-6545
Browse files Browse the repository at this point in the history
fix(ux): don't override Item Name and Description in MR
  • Loading branch information
s-aga-r authored Dec 15, 2023
2 parents d6201ce + 726ac6b commit a1b9560
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions erpnext/stock/doctype/material_request/material_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,8 @@ frappe.ui.form.on('Material Request', {

get_item_data: function(frm, item, overwrite_warehouse=false) {
if (item && !item.item_code) { return; }
frm.call({
frappe.call({
method: "erpnext.stock.get_item_details.get_item_details",
child: item,
args: {
args: {
item_code: item.item_code,
Expand Down

0 comments on commit a1b9560

Please sign in to comment.