mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-21 07:38:29 +00:00
@@ -4122,7 +4122,7 @@ def update_child_qty_rate(parent_doctype, trans_items, parent_doctype_name, chil
|
|||||||
child_item.idx = len(parent.items) + 1
|
child_item.idx = len(parent.items) + 1
|
||||||
child_item.insert()
|
child_item.insert()
|
||||||
else:
|
else:
|
||||||
child.save(ignore_permissions=True)
|
child_item.save(ignore_permissions=True)
|
||||||
|
|
||||||
parent.reload()
|
parent.reload()
|
||||||
parent.flags.ignore_validate_update_after_submit = True
|
parent.flags.ignore_validate_update_after_submit = True
|
||||||
|
|||||||
Reference in New Issue
Block a user