Customization Request

Hello Everyone,

I need to add the RFQ name to the subject of the sent emails.

Could you please help me out.

Thank you
Abduljaleel

This is not configurable for now. Please followup for this feature suggestion via this issue.

Hi umair,

I succeeded to do that through changing subject = _(“Request for Quotation”)
in the file erpnext/buying/doctype/request_for_quotation/request_for_quotation.py

However I dont know how to add the reference of the document, is it something like:
subject = _(“doc.name”).?

Thank you
Abduljaleel

in frappe, _() is used to translate the data.

So you can write as,

subject = _(“{0}”.format(doc.name))

Or without translating the data

Subject = doc.name

Note
But making the changes in core is not recommended, as it leads to conflicts while upgrading the system.