Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
560 Представления

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

Аватар
Отменить