commit | 819b8d02660e5f27d89a7ba825fb3dc3e42a57ef | [log] [tgz] |
---|---|---|
author | Marica <maricadsouza221197@gmail.com> | Thu Feb 11 14:45:09 2021 +0530 |
committer | GitHub <noreply@github.com> | Thu Feb 11 14:45:09 2021 +0530 |
tree | e120daab08b77c49ef604ef7d99d4e770d04771e | |
parent | a5039e8f85ec6f84dfe9086b064a30b0f6086c11 [diff] | |
parent | 0681a480c2d92e8dabbc0f91b7c39888723fe749 [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