[FIX] report_vat: display tax of selected chart of tax.
The Taxes report gives the possibility to choose a chart of tax. This chart of tax wasn't respected when printing the report, all taxes from all chart of taxes of the company were printed. opw-642362
This commit is contained in:
parent
c7c2f5743b
commit
5fc8315e25
|
@ -39,7 +39,7 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr t-foreach="get_lines(data['form']['based_on'], data['form']['company_id'])" t-as="taxline">
|
||||
<tr t-foreach="get_lines(data['form']['based_on'], data['form']['company_id'], data['form']['chart_tax_id'])" t-as="taxline">
|
||||
<t t-if="len(taxline['level']) > 5">
|
||||
<t t-set="style" t-value="'font-weight:normal;'"/>
|
||||
</t>
|
||||
|
|
Loading…
Reference in New Issue