Ir al contenido
Menú
Se marcó esta pregunta
3230 Vistas

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
Descartar

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

Publicaciones relacionadas Respuestas Vistas Actividad
5
oct 24
32497
1
jul 23
7172
2
jul 22
11398
2
oct 21
3210
0
ago 21
1959