mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-20 07:15:11 +00:00
fix: add selling price validation on update item
(cherry picked from commit 327d067305)
This commit is contained in:
@@ -3965,6 +3965,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_selling_price()
|
||||||
parent.validate_for_duplicate_items()
|
parent.validate_for_duplicate_items()
|
||||||
parent.validate_warehouse()
|
parent.validate_warehouse()
|
||||||
parent.update_reserved_qty()
|
parent.update_reserved_qty()
|
||||||
|
|||||||
Reference in New Issue
Block a user