[FIX] l10n_br_sales: hide subsection totals

5921343c2a removed values that didn't
include taxes but section subtotals were forgotten.

task-3562904

closes odoo/odoo#142303

X-original-commit: 3198c74409fa9778d493a0802dc57f7f7062c800
Signed-off-by: Josse Colpaert <jco@odoo.com>
Signed-off-by: Joren Van Onder (jov) <jov@odoo.com>
This commit is contained in:
Joren Van Onder
2023-11-17 00:54:07 +00:00
parent 36517d8b7b
commit e4155471bf
2 changed files with 4 additions and 0 deletions
@@ -18,5 +18,7 @@
<xpath expr="//t[@t-call='sale.document_tax_totals']" position="replace">
<t t-call="l10n_br_sales.document_tax_totals_brazil"/>
</xpath>
<!-- hide subsection subtotals, because they don't include tax -->
<td name="td_section_subtotal" position="replace"/>
</template>
</odoo>
@@ -15,5 +15,7 @@
<t t-call="l10n_br_sales.document_tax_totals_brazil"/>
</table>
</xpath>
<!-- hide subsection subtotals, because they don't include tax -->
<xpath expr="//span[@t-out='current_subtotal']/.." position="replace"/>
</template>
</odoo>