fix: find table row
This commit is contained in:
@@ -721,7 +721,7 @@ erpnext.utils.update_child_items = function (opts) {
|
|||||||
} = r.message;
|
} = r.message;
|
||||||
|
|
||||||
const row = dialog.fields_dict.trans_items.df.data.find(
|
const row = dialog.fields_dict.trans_items.df.data.find(
|
||||||
(doc) => doc.idx == me.doc.idx
|
(row) => row.name == me.doc.name
|
||||||
);
|
);
|
||||||
if (row) {
|
if (row) {
|
||||||
Object.assign(row, {
|
Object.assign(row, {
|
||||||
|
|||||||
Reference in New Issue
Block a user