mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
Merge pull request #24486 from frappe/rfq-contact-email-set-v12
fix: Rfq contact email set v12
This commit is contained in:
@@ -108,6 +108,10 @@ class RequestforQuotation(BuyingController):
|
|||||||
'link_doctype': 'Supplier',
|
'link_doctype': 'Supplier',
|
||||||
'link_name': rfq_supplier.supplier
|
'link_name': rfq_supplier.supplier
|
||||||
})
|
})
|
||||||
|
contact.append('email_ids', {
|
||||||
|
'email_id': user.name,
|
||||||
|
'is_primary': 1
|
||||||
|
})
|
||||||
|
|
||||||
if not contact.email_id and not contact.user:
|
if not contact.email_id and not contact.user:
|
||||||
contact.email_id = user.name
|
contact.email_id = user.name
|
||||||
|
|||||||
Reference in New Issue
Block a user