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.

35 lines
1.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <template id="report_receipt"
  5. inherit_id="point_of_sale.report_receipt"
  6. name="Add taxes detail">
  7. <xpath expr="//div[@class='page']" position="inside">
  8. <table class="table table-condensed">
  9. <thead>
  10. <tr>
  11. <th>Tax</th>
  12. <th class="text-right">Base</th>
  13. <th class="text-right">Amount</th>
  14. </tr>
  15. </thead>
  16. <tbody>
  17. <tr t-foreach="o.taxes" t-as="tax">
  18. <td>
  19. <span t-esc="tax.name"/>
  20. </td>
  21. <td class="text-right">
  22. <span t-esc="formatLang(tax.base, currency_obj=res_company.currency_id)"/>
  23. </td>
  24. <td class="text-right">
  25. <span t-esc="formatLang(tax.amount, currency_obj=res_company.currency_id)"/>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </xpath>
  31. </template>
  32. </data>
  33. </openerp>