fix: reload parent after setting children
This commit is contained in:
parent
c9b1a35ac3
commit
fafbb0278f
@ -1132,6 +1132,7 @@ def update_child_qty_rate(parent_doctype, trans_items, parent_doctype_name, chil
|
|||||||
else:
|
else:
|
||||||
child_item.save()
|
child_item.save()
|
||||||
|
|
||||||
|
parent.reload()
|
||||||
parent.flags.ignore_validate_update_after_submit = True
|
parent.flags.ignore_validate_update_after_submit = True
|
||||||
parent.set_qty_as_per_stock_uom()
|
parent.set_qty_as_per_stock_uom()
|
||||||
parent.calculate_taxes_and_totals()
|
parent.calculate_taxes_and_totals()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user