mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 21:52:21 +01:00
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:
|
else:
|
||||||
values.update(
|
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),
|
"company_name": args.get(party_name_key),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user