Skip to content

Commit

Permalink
Revert "fix: Default sales team not getting set" (#34376)
Browse files Browse the repository at this point in the history
Revert "fix: Default sales team not getting set" (#34376)

Revert "fix: Default sales team not getting set (#34284)"

This reverts commit 7d0199d.

(cherry picked from commit 9a8f8e8)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
  • Loading branch information
mergify[bot] and deepeshgarg007 authored Mar 9, 2023
1 parent eb24f91 commit 42bda6e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions erpnext/controllers/selling_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ def set_missing_lead_customer_details(self, for_validate=False):
)
if not self.meta.get_field("sales_team"):
party_details.pop("sales_team")
else:
self.set("sales_team", party_details.get("sales_team"))

self.update_if_missing(party_details)

elif lead:
Expand Down

0 comments on commit 42bda6e

Please sign in to comment.