Skip to Content
Menu
This question has been flagged
1 Reply
1271 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
2
May 24
2259
0
Dec 15
3279
0
Oct 15
3692
2
Aug 25
2206
1
Dec 22
2431