[FIX] point_of_sale: fixed display of untaxed amount in sales lines report

This commit is contained in:
David Monjoie 2014-10-13 16:41:33 +02:00
parent da17723bef
commit eb6bf4dd86
1 changed files with 4 additions and 4 deletions

View File

@ -68,8 +68,8 @@
<tr class="border-black">
<td><strong>Total Without Taxes</strong></td>
<td class="text-right">
<span t-field="o.amount_total"
t-field-options='{"widget": "monetary", "display_currency": "o.pricelist_id.currency_id"}'/>
<span t-esc="o.amount_total - o.amount_tax"
t-esc-options='{"widget": "monetary", "display_currency": "o.pricelist_id.currency_id"}'/>
</td>
</tr>
<tr>
@ -82,8 +82,8 @@
<tr class="border-black">
<td><strong>Total</strong></td>
<td class="text-right">
<span t-esc="(o.amount_total + o.amount_tax)"
t-esc-options='{"widget": "monetary", "display_currency": "o.pricelist_id.currency_id"}'/>
<span t-field="o.amount_total"
t-field-options='{"widget": "monetary", "display_currency": "o.pricelist_id.currency_id"}'/>
</td>
</tr>
</table>