fix: wrong items in table being deleted (#19994)
This commit is contained in:
parent
93cb64ee30
commit
4f72c0b8b5
@ -501,6 +501,7 @@ erpnext.utils.update_child_items = function(opts) {
|
|||||||
frm.doc[opts.child_docname].forEach(d => {
|
frm.doc[opts.child_docname].forEach(d => {
|
||||||
dialog.fields_dict.trans_items.df.data.push({
|
dialog.fields_dict.trans_items.df.data.push({
|
||||||
"docname": d.name,
|
"docname": d.name,
|
||||||
|
"name": d.name,
|
||||||
"item_code": d.item_code,
|
"item_code": d.item_code,
|
||||||
"qty": d.qty,
|
"qty": d.qty,
|
||||||
"rate": d.rate,
|
"rate": d.rate,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user