Merge pull request #24482 from pateljannat/rfq-contact-email-set
fix: RFQ contact email set
This commit is contained in:
commit
a43aea0dc1
@ -127,6 +127,10 @@ class RequestforQuotation(BuyingController):
|
||||
'link_doctype': '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:
|
||||
contact.email_id = user.name
|
||||
|
Loading…
x
Reference in New Issue
Block a user