[FIX] account/sale: remove unused Qweb variable

That variable seems a remaining piece of old code that now doesn't
have any use and makes to compute twice the tax table each time
you print the report.

Closes #20569
This commit is contained in:
Pedro M. Baeza
2017-11-20 10:28:06 +01:00
committed by Martin Trigaux
parent 08bdd06542
commit 92cb780051
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -109,7 +109,6 @@
<span t-field="o.amount_untaxed" t-options='{"widget": "monetary", "display_currency": o.currency_id}'/>
</td>
</tr>
<t t-set="tax_groups_length" t-value="len(o._get_tax_amount_by_group())"/>
<t t-foreach="o._get_tax_amount_by_group()" t-as="amount_by_group">
<tr style="border-bottom:1px solid #dddddd;">
<t t-if="len(o.tax_line_ids) == 1 and o.amount_untaxed == amount_by_group[2]">
@@ -147,7 +147,6 @@
t-options='{"widget": "monetary", "display_currency": doc.pricelist_id.currency_id}'/>
</td>
</tr>
<t t-set="tax_groups_length" t-value="len(doc._get_tax_amount_by_group())"/>
<t t-foreach="doc._get_tax_amount_by_group()" t-as="amount_by_group">
<tr style="border-bottom:1px solid #dddddd;">
<t t-if="amount_by_group[3] == 1 and doc.amount_untaxed == amount_by_group[2]">