mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: validate items against selling settings (#45288)
fix: validate_for_duplicate_items Co-authored-by: Sanket322 <shahsanket322003.com>
This commit is contained in:
@@ -3719,6 +3719,7 @@ def update_child_qty_rate(parent_doctype, trans_items, parent_doctype_name, chil
|
|||||||
).format(frappe.bold(parent.name))
|
).format(frappe.bold(parent.name))
|
||||||
)
|
)
|
||||||
else: # Sales Order
|
else: # Sales Order
|
||||||
|
parent.validate_for_duplicate_items()
|
||||||
parent.validate_warehouse()
|
parent.validate_warehouse()
|
||||||
parent.update_reserved_qty()
|
parent.update_reserved_qty()
|
||||||
parent.update_project()
|
parent.update_project()
|
||||||
|
|||||||
Reference in New Issue
Block a user