Skip to content

Commit

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

fix: validate_for_duplicate_items

Co-authored-by: Sanket322 <shahsanket322003.com>
(cherry picked from commit d862e9b)

Co-authored-by: Sanket Shah <[email protected]>
  • Loading branch information
mergify[bot] and Sanket322 authored Jan 24, 2025
1 parent ae5ce97 commit 7ff7ec7
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 7ff7ec7

Please sign in to comment.