fix: wrong items in table being deleted

This commit is contained in:
prssanna
2019-12-26 14:44:47 +05:30
parent d0e39e6fac
commit bc15ea68b8

View File

@@ -501,6 +501,7 @@ erpnext.utils.update_child_items = function(opts) {
frm.doc[opts.child_docname].forEach(d => {
dialog.fields_dict.trans_items.df.data.push({
"docname": d.name,
"name": d.name,
"item_code": d.item_code,
"qty": d.qty,
"rate": d.rate,