Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
563 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

Hi Dyrbavka,

You can try it like this:


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

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

Hope it helps

Аватар
Відмінити