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.

21 lines
1005 B

  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. <field name="report_template" ref="point_of_sale.action_report_pos_receipt" />
  13. <field name="report_name">Ticket ${object.pos_reference}</field>
  14. <field name="lang">${object.partner_id.lang}</field>
  15. <field name="body_html"><![CDATA[
  16. Votre Ticket ${object.pos_reference}
  17. ]]></field>
  18. </record>
  19. </data>
  20. </odoo>