Odoo Help

0

how to create simple template email in odoo ?

By
Ankit H Gandhi(AHG)
on 2/14/16, 7:44 AM 735 views

Hello Friends,

I need to create simple email template.

Thanks in advance

0
Ankit H Gandhi(AHG)
On 12/19/16, 8:25 AM

I would like to share here how to create simple email template.

Example

<record id="set_any_unique_id" model="email.template">

<field name="name">Any String</field>

<field name="email_from">${sender_email_id}</field>

<field name="subject">${'Any Subject'}</field>

<field name="email_recipients">${receiver_email_id}</field>

<field name="model_id" ref="module_name.model_model_name"/>

<field name="auto_delete" eval="True"/>

<field name="body_html">

<![CDATA[

<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; ">

<p>Hello ${object.name},</p>

]]>

</field>

</record>

For more information please refer below path.

/addons/sale/edi/sale_order_action_data.xml

Best Regards,

Ankit H Gandhi.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 2/14/16, 7:44 AM
Seen: 735 times
Last updated: 12/19/16, 8:25 AM