mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-27 07:01:13 +01:00
fix: ignore permissions instead of saving parent
(cherry picked from commit 6342e9a3e2)
This commit is contained in:
@@ -4044,7 +4044,7 @@ def update_child_qty_rate(parent_doctype, trans_items, parent_doctype_name, chil
|
||||
child_item.idx = len(parent.items) + 1
|
||||
child_item.insert()
|
||||
else:
|
||||
parent.save()
|
||||
child.save(ignore_permissions=True)
|
||||
|
||||
parent.reload()
|
||||
parent.flags.ignore_validate_update_after_submit = True
|
||||
|
||||
Reference in New Issue
Block a user