Files
enterprise-addons/account_avatax/reports/account_invoice.xml
T

13 lines
541 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="report_invoice_document" inherit_id="account.report_invoice_document">
<!-- TODO not the best thing to inherit... -->
<xpath expr="//span[@id='line_tax_ids']/.." position="attributes">
<attribute name="t-if" add="not o.is_avatax" separator="and"/>
</xpath>
<xpath expr="//th[@name='th_taxes']" position="attributes">
<attribute name="t-if" add="not o.is_avatax" separator="and"/>
</xpath>
</template>
</odoo>