Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3247 Visualizações

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
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
5
out. 24
32541
1
jul. 23
7202
2
jul. 22
11425
2
out. 21
3224
0
ago. 21
1981