Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4989 Widoki

Hi,

Is there a way to configure ODOO so that when a user sends an email message, the followers of that subject receives the email with all the followers addresses in the cc field of the mail signature?

Awatar
Odrzuć
Najlepsza odpowiedź


For adding followers in CC as recipient you need to inherit get_mail_values() method of mail.compose.message object and Update below values:

mail_values = {

                'subject': self.subject,

                'body': self.body or '',

                'parent_id': self.parent_id and self.parent_id.id,

                'partner_ids': [partner.id for partner in self.partner_ids],

                'attachment_ids': [attach.id for attach in self.attachment_ids],

                'author_id': self.author_id.id,

                'email_from': self.email_from,

                'record_name': self.record_name,

                'no_auto_thread': self.no_auto_thread,

                'mail_server_id': self.mail_server_id.id, 

            }

Thanks, 

Bobby Joseph [iWesabe]

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 20
5351
2
wrz 25
339
2
wrz 25
493
1
lip 25
1595
5
maj 25
19273