Skip to content

Commit bccca6f

Browse files
Nishka Gosaliamergify[bot]
authored andcommitted
fix: permission issue for quotation item during update item
(cherry picked from commit 58b8af0)
1 parent 72a0d82 commit bccca6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

erpnext/controllers/accounts_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4122,7 +4122,7 @@ def validate_fg_item_for_subcontracting(new_data, is_new):
41224122
child_item.idx = len(parent.items) + 1
41234123
child_item.insert()
41244124
else:
4125-
child_item.save()
4125+
parent.save()
41264126

41274127
parent.reload()
41284128
parent.flags.ignore_validate_update_after_submit = True

0 commit comments

Comments
 (0)