Skip to content

Commit

Permalink
fix: validate items against selling settings (#45288)
Browse files Browse the repository at this point in the history
fix: validate_for_duplicate_items

Co-authored-by: Sanket322 <shahsanket322003.com>
(cherry picked from commit d862e9b)
  • Loading branch information
Sanket322 authored and mergify[bot] committed Jan 24, 2025
1 parent 52fdc7c commit 0a94402
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/controllers/accounts_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -3691,6 +3691,7 @@ def validate_fg_item_for_subcontracting(new_data, is_new):
).format(frappe.bold(parent.name))
)
else: # Sales Order
parent.validate_for_duplicate_items()
parent.validate_warehouse()
parent.update_reserved_qty()
parent.update_project()
Expand Down

0 comments on commit 0a94402

Please sign in to comment.