mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-15 21:05:10 +00:00
fix: populate contact fields when creating quotation from customer
(cherry picked from commit 75b2c2c83d)
This commit is contained in:
@@ -497,6 +497,9 @@ def _set_missing_values(source, target):
|
|||||||
|
|
||||||
if contact:
|
if contact:
|
||||||
target.contact_person = contact[0].parent
|
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()
|
@frappe.whitelist()
|
||||||
|
|||||||
Reference in New Issue
Block a user