Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
565 Zobrazení

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.

Avatar
Zrušit
Nejlepší odpověď

Hi Dyrbavka,

You can try it like this:


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

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

Hope it helps

Avatar
Zrušit