fix: populate contact fields when creating quotation from customer

(cherry picked from commit 75b2c2c83d)
This commit is contained in:
Mihir Kandoi
2026-02-02 19:59:53 +05:30
committed by Mergify
parent 091ff81ae5
commit 55129e697d

View File

@@ -512,6 +512,9 @@ def _set_missing_values(source, target):
if contact:
target.contact_person = contact[0].parent
target.contact_display, target.contact_email, target.contact_mobile = frappe.get_value(
"Contact", contact[0].parent, ["full_name", "email_id", "mobile_no"]
)
@frappe.whitelist()