Debian Codegraph @

addons/l10n_br_sales/report/sale_order_templates.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3 <template id="report_saleorder_document" inherit_id="sale.report_saleorder_raw">
4 <xpath expr='//t[@t-call="sale.report_saleorder_document"]' position="attributes">
5 <attribute name="t-if" add="doc.company_id.country_code != 'BR'" separator="and"/>
6 </xpath>
7 <xpath expr='//t[@t-call="sale.report_saleorder_document"]' position="after">
8 <t t-elif="doc.company_id.country_code == 'BR'"
9 t-call="l10n_br_sales.report_saleorder_document_brazil" t-lang="doc.partner_id.lang"/>
10 </xpath>
11 </template>
12
13 <template id="report_saleorder_document_brazil" inherit_id="sale.report_saleorder_document" primary="True">
14 <t t-set="hide_taxes_details" position="attributes">
15 <attribute name="t-value">True</attribute>
16 </t>
17 <xpath expr="//t[@t-call='sale.document_tax_totals']" position="replace">
18 <t t-call="l10n_br_sales.document_tax_totals_brazil">
19 <t t-set="tax_totals" t-value="doc.tax_totals"/>
20 <t t-set="currency" t-value="doc.currency_id"/>
21 </t>
22 </xpath>
23 </template>
24 </odoo>