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.
36 lines
1.1 KiB
36 lines
1.1 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<template id="report_receipt"
|
|
inherit_id="point_of_sale.report_receipt"
|
|
name="Add taxes detail">
|
|
<xpath expr="//div[@class='page']" position="inside">
|
|
<table class="table table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Tax</th>
|
|
<th class="text-right">Base</th>
|
|
<th class="text-right">Amount</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr t-foreach="o.taxes" t-as="tax">
|
|
<td>
|
|
<span t-esc="tax.name"/>
|
|
</td>
|
|
<td class="text-right">
|
|
<span t-esc="formatLang(tax.base, currency_obj=res_company.currency_id)"/>
|
|
</td>
|
|
<td class="text-right">
|
|
<span t-esc="formatLang(tax.amount, currency_obj=res_company.currency_id)"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</xpath>
|
|
</template>
|
|
|
|
|
|
</data>
|
|
</openerp>
|