mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
fix: rfq contact email set
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