<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <template id="sale_order_portal_content_brazil" inherit_id="sale.sale_order_portal_content" primary="True">
        <!-- hide the taxes -->
        <t t-set="hide_taxes_details" position="attributes">
            <attribute name="t-value">True</attribute>
        </t>
        <xpath expr="//t[@t-call='sale.sale_order_portal_content_totals_table']" position="replace">
            <table class="table table-sm">
                <t t-call="l10n_br_sales.document_tax_totals_brazil">
                    <t t-set="tax_totals" t-value="sale_order.tax_totals"/>
                    <t t-set="currency" t-value="sale_order.currency_id"/>
                </t>
            </table>
        </xpath>
    </template>
</odoo>
