Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3290 Visninger

I would like to send email to customer but i dont want to create said email in record chatter as well.

I think this is the method responsible (although i might be wrong).

def _send_email_notification(self, ticket):
reminder_template = self.env.ref('module.mail_template')
email_values = {'email_to': self.partner_id.email}
reminder_template.sudo().send_mail(ticket.id, force_send=True, email_values=email_values)
Avatar
Kassér

Hi,
Please refer this forum answer. It explains how to remove the link between the mail that’s been sent and chatter.

https://www.odoo.com/forum/help-1/send-an-email-from-odoo-but-dont-add-it-to-the-record-s-chatter-section-193936

Related Posts Besvarelser Visninger Aktivitet
5
okt. 24
32642
1
jul. 23
7292
2
jul. 22
11482
2
okt. 21
3283
0
aug. 21
2021