fix: error when trying to edit quantity of top most FG in bom creator

This commit is contained in:
Mihir Kandoi
2025-07-28 11:42:13 +05:30
parent 4d10cb2727
commit bd7de515b1

View File

@@ -417,7 +417,7 @@ class BOMConfigurator {
doctype: doctype,
docname: docname,
qty: data.qty,
parent: node.data.parent_id,
parent: node.data.parent_id ? node.data.parent_id : this.frm.doc.name,
},
callback: (r) => {
node.data.qty = data.qty;