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.

19 lines
767 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data noupdate="0">
  4. <!--Email template -->
  5. <record id="email_send_ticket" model="mail.template">
  6. <field name="name">Send Receipt</field>
  7. <field name="email_from">${(object.user_id.email and '%s &lt;%s&gt;' % (object.user_id.name, object.user_id.email) or '')|safe}</field>
  8. <field name="subject">${object.pos_reference}</field>
  9. <field name="model_id" ref="point_of_sale.model_pos_order" />
  10. <field name="auto_delete" eval="True" />
  11. <field name="lang">${object.partner_id.lang}</field>
  12. <field name="body_html"><![CDATA[
  13. Your Ticket ${object.pos_reference}
  14. ]]></field>
  15. </record>
  16. </data>
  17. </odoo>