fix: find table row

This commit is contained in:
barredterra
2025-05-13 18:13:26 +02:00
parent 709a2fa553
commit 61e96f3fb5

View File

@@ -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, {