fix: validate items against selling settings (#45288)
fix: validate_for_duplicate_items
Co-authored-by: Sanket322 <shahsanket322003.com>
(cherry picked from commit d862e9b771)
Co-authored-by: Sanket Shah <113279972+Sanket322@users.noreply.github.com>
This commit is contained in:
@@ -3691,6 +3691,7 @@ def update_child_qty_rate(parent_doctype, trans_items, parent_doctype_name, chil
|
||||
).format(frappe.bold(parent.name))
|
||||
)
|
||||
else: # Sales Order
|
||||
parent.validate_for_duplicate_items()
|
||||
parent.validate_warehouse()
|
||||
parent.update_reserved_qty()
|
||||
parent.update_project()
|
||||
|
||||
Reference in New Issue
Block a user