mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
Merge pull request #48403 from aerele/validate_selling_price
fix: add selling price validation on update item
This commit is contained in:
@@ -3983,6 +3983,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