Skip to Content
Menú
This question has been flagged
1 Respondre
1277 Vistes

Hello Odooers,

I'm creating custom email templates for the task model and I have a question: Are the fields "email_from", "email_to", and "partner_to" mandatory when setting up an email template?

If not, how do I determine when and which one to use?

Avatar
Descartar
Best Answer

Hi,


In Odoo, the fields email_from, email_to, and partner_to are not mandatory in email templates for the Task model.

email_from: Defines the sender's email (defaults to the user's email if empty).

email_to: Specifies the primary recipient, such as the task assignee or customer.

partner_to: Used to send the email to a partner linked to the task, like a customer or vendor.


For more help on creating email templates step-by-step in Odoo 17, you can refer to this blog: https://www.cybrosys.com/blog/how-to-create-an-email-template-in-odoo-17


Hope it helps

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de maig 24
2265
0
de des. 15
3281
0
d’oct. 15
3695
2
d’ag. 25
2228
1
de des. 22
2434