Answers for "odoo mail template"

0

odoo mail template

<odoo>
	<data noupdate="1">
    	<!--Email template -->
        <record id="email_template" model="mail.template">
        	<field name="name">Email Template</field>
            <field name="model_id" ref="test_email.model_test_email"/>
            <field name="email_from">${(object.company_id.email |safe}</field>
            <field name="email_to" >${object.partner_id.email}</field>
            <field name="subject">Ref ${object.name or 'n/a' }</field>
            <field name="auto_delete" eval="True"/>
            <field name="lang">${object.partner_id.lang}</field>
            <field name="body_html"><![CDATA[
                  <p>Hi</p>
                  <br/>
                  <p>Here is the details of open invoices</p>
                  <br/>
              ]]>
            </field>
        </record>
    </data>
</odoo>
Posted by: Guest on August-02-2021

Browse Popular Code Answers by Language