Merge pull request #39184 from s-aga-r/FIX-7838

fix: set `First Name` in Supplier Contact
This commit is contained in:
s-aga-r
2024-01-08 15:36:07 +05:30
committed by GitHub

View File

@@ -706,7 +706,9 @@ def make_contact(args, is_primary_contact=1):
else:
values.update(
{
"first_name": args.get("customer_name"),
"first_name": args.get("customer_name")
if args.doctype == "Customer"
else args.get("supplier_name"),
"company_name": args.get(party_name_key),
}
)