Skip to content

Commit

Permalink
fix: get party details
Browse files Browse the repository at this point in the history
(cherry picked from commit 5a0aacc)
  • Loading branch information
nabinhait authored and mergify[bot] committed Jun 6, 2023
1 parent d82d159 commit c7391c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions erpnext/controllers/selling_controller.py
Expand Up @@ -43,7 +43,6 @@ def validate(self):
self.validate_auto_repeat_subscription_dates()

def set_missing_values(self, for_validate=False):

super(SellingController, self).set_missing_values(for_validate)

# set contact and address details for customer, if they are not mentioned
Expand All @@ -62,7 +61,7 @@ def set_missing_lead_customer_details(self, for_validate=False):
elif self.doctype == "Quotation" and self.party_name:
if self.quotation_to == "Customer":
customer = self.party_name
else:
elif self.quotation_to == "Lead":
lead = self.party_name

if customer:
Expand Down

0 comments on commit c7391c8

Please sign in to comment.