diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index 9707d64c2f3..0a89be379ed 100755 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -721,7 +721,7 @@ erpnext.utils.update_child_items = function (opts) { } = r.message; const row = dialog.fields_dict.trans_items.df.data.find( - (doc) => doc.idx == me.doc.idx + (row) => row.name == me.doc.name ); if (row) { Object.assign(row, {