Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3249 Visualizzazioni

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
5
ott 24
32542
1
lug 23
7204
2
lug 22
11427
2
ott 21
3227
0
ago 21
1989