Skip to content

Commit

Permalink
style: remove trailing whitespace (#38183)
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra authored Nov 18, 2023
1 parent a1ff7ca commit ff5b1b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/selling/doctype/customer/customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def make_contact(args, is_primary_contact=1):
party_type = args.customer_type if args.doctype == "Customer" else args.supplier_type
party_name_key = "customer_name" if args.doctype == "Customer" else "supplier_name"

if party_type == "Individual":
if party_type == "Individual":
first, middle, last = parse_full_name(args.get(party_name_key))
values.update(
{
Expand All @@ -648,7 +648,7 @@ def make_contact(args, is_primary_contact=1):
"company_name": args.get(party_name_key),
}
)

contact = frappe.get_doc(values)

if args.get("email_id"):
Expand Down

0 comments on commit ff5b1b7

Please sign in to comment.