mirror of
https://github.com/bringout/oca-financial.git
synced 2026-04-27 23:02:04 +02:00
24 lines
699 B
XML
24 lines
699 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<template
|
|
id="report_invoice_document"
|
|
inherit_id="account.report_invoice_document"
|
|
priority="150"
|
|
>
|
|
<xpath expr="//t[@t-set='taxes']" position="replace">
|
|
<t
|
|
t-set="taxes"
|
|
t-value="', '.join([(tax.description or tax.name) for tax in line.tax_ids.filtered(lambda t: not t.is_ecotax)])"
|
|
/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template
|
|
id="document_tax_totals"
|
|
inherit_id="account.document_tax_totals"
|
|
priority="150"
|
|
>
|
|
<xpath expr="//tr[@name='ecotax_line']" position="replace">
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|