Skip to content

Commit

Permalink
fix(ux): don't override Item Name and Description in MR (backport #38720
Browse files Browse the repository at this point in the history
) (#38763)

fix(ux): don't override Item Name and Description in MR

(cherry picked from commit 726ac6b)

Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
  • Loading branch information
mergify[bot] and s-aga-r authored Dec 15, 2023
1 parent 013d0ff commit 703be50
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 703be50

Please sign in to comment.