mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 07:18:27 +00:00
Merge pull request #39184 from s-aga-r/FIX-7838
fix: set `First Name` in Supplier Contact
This commit is contained in:
@@ -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),
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user