Skip to content

Commit a1b9560

Browse files
authored
Merge pull request #38720 from s-aga-r/FIX-6545
fix(ux): don't override Item Name and Description in MR
2 parents d6201ce + 726ac6b commit a1b9560

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

erpnext/stock/doctype/material_request/material_request.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,8 @@ frappe.ui.form.on('Material Request', {
199199

200200
get_item_data: function(frm, item, overwrite_warehouse=false) {
201201
if (item && !item.item_code) { return; }
202-
frm.call({
202+
frappe.call({
203203
method: "erpnext.stock.get_item_details.get_item_details",
204-
child: item,
205204
args: {
206205
args: {
207206
item_code: item.item_code,

0 commit comments

Comments
 (0)