meisam
July 13, 2017, 1:59pm
1
Hello
How can remove link from email of request for quote ??
problem is erpnext is in local server , there is not access to server from out of our office network .
But in email of request for quote send a link that is not working , so we need to send email without link .
Regards
@meisam ,
check the supplier_rfq_mail
method, you will need to remove the rfq_link.
for rfq_supplier in self.suppliers:
if rfq_supplier.email_id is not None and rfq_supplier.send_email:
self.validate_email_id(rfq_supplier)
# make new user if required
update_password_link, contact = self.update_supplier_contact(rfq_supplier, self.get_link())
self.update_supplier_part_no(rfq_supplier.supplier)
self.supplier_rfq_mail(rfq_supplier, update_password_link, self.get_link())
rfq_supplier.email_sent = 1
if not rfq_supplier.contact:
rfq_supplier.contact = contact
rfq_supplier.save()
def get_link(self):
# RFQ link for supplier portal
return get_url("/app/request-for-quotation/" + self.name)
def update_supplier_part_no(self, supplier):
self.vendor = supplier
for item in self.items:
meisam
July 15, 2017, 9:59am
3
thanks , we can’t change it in GUI ?
@meisam ,
No, You can change the email content through message_for_supplier
but to remove the link there is no option through GUI