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
561 Widoki

Hi all. Have a hard time with setting an Automation Rule in Odoo 17. So I have a model Equipment with Notification Date Field and Notification Email CheckBox Field. I need to automatically send email when Notification Date is Today and Notification Email CheckBox is True. Using Automation Rules. Everything is set as suppose. I can see one record matching the rule, there is email for the customer that matching the rule, but email never sent.. I think I'm probably setting field To(Emails) and To(Partners) in the Email Template wrong. I have my email address in To(Emails) and

 {{ res.partner.email }} in To(Partner) Field. Any advise on how to set these email addresses is greatly appreciated as always.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Dyrbavka,

You can try it like this:


To(Emails): {{ object.partner_id.email_formatted }}

To(Partners): {{ object.partner_id.id }}

Hope it helps

Awatar
Odrzuć