commit | f3ca4bcb70038bdb8b44c1a4b4ef91ce683e4cd4 | [log] [tgz] |
---|---|---|
author | Marica <maricadsouza221197@gmail.com> | Thu Feb 18 16:51:50 2021 +0530 |
committer | GitHub <noreply@github.com> | Thu Feb 18 16:51:50 2021 +0530 |
tree | afdae3768514d5f4470f5d302c04ecf393692454 | |
parent | 819b8d02660e5f27d89a7ba825fb3dc3e42a57ef [diff] | |
parent | ccc80927f6aa3b072b7cac6d9d548394de6f19ba [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