You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
838 B

6 years ago
6 years ago
6 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo noupdate="1">
  3. <!-- Error Email template -->
  4. <record id="sql_export_mailer" model="mail.template">
  5. <field name="name">SQL Export</field>
  6. <field name="email_from">admin@example.com</field>
  7. <field name="email_to">${object.get_email_address_for_template()}</field>
  8. <field name="subject">${object.name or ''}</field>
  9. <field name="model_id" ref="sql_export.model_sql_export"/>
  10. <field name="auto_delete" eval="True"/>
  11. <field name="body_html"><![CDATA[
  12. <div style="font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; ">
  13. <p>You will find the report ${object.name or ''} as an attachment of the mail.</p>
  14. </div>
  15. ]]></field>
  16. </record>
  17. </odoo>