chore: linting issues
This commit is contained in:
parent
2b9448962f
commit
c29bc8c97f
@ -648,7 +648,7 @@ def make_contact(args, is_primary_contact=1):
|
|||||||
party_type = args.customer_type if args.doctype == "Customer" else args.supplier_type
|
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"
|
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))
|
first, middle, last = parse_full_name(args.get(party_name_key))
|
||||||
values.update(
|
values.update(
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user