commit | bb87950e967b5e611e745a7ab1f97aea66089f2e | [log] [tgz] |
---|---|---|
author | Marica <maricadsouza221197@gmail.com> | Wed Feb 10 12:02:14 2021 +0530 |
committer | GitHub <noreply@github.com> | Wed Feb 10 12:02:14 2021 +0530 |
tree | 16ef667c9b44020a89ad13ad239c548676216039 | |
parent | 55e7c5644cb17063f2ca79731cc71bebbaa48426 [diff] | |
parent | 5164223b99b2792211a4edc9568cb13f2a0d76c2 [diff] |
Merge branch 'develop' into rfq-contact-email-set
diff --git a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.py b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.py index a51498e..7cf22f8 100644 --- a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.py +++ b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.py
@@ -127,6 +127,10 @@ '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