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
1.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data noupdate="1">
  4. <!--Email template -->
  5. <record id="email_send_ticket" model="mail.template">
  6. <field name="name">Envoyer Reçu</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="partner_to">${object.partner_id.id}</field>
  10. <field name="model_id" ref="point_of_sale.model_pos_order" />
  11. <field name="auto_delete" eval="True" />
  12. <!-- TODO: put back when 'pos_report' will be back -->
  13. <!--<field name="report_template" ref="point_of_sale.action_report_pos_receipt" />-->
  14. <field name="report_name">Ticket ${object.pos_reference}</field>
  15. <field name="lang">${object.partner_id.lang}</field>
  16. <field name="body_html"><![CDATA[
  17. Votre Ticket ${object.pos_reference}
  18. ]]></field>
  19. </record>
  20. </data>
  21. </odoo>