I want to remove some fields from a custom sale report, but both the original and the custom report are printed.
< report id="report_so_ext" string="Print without prices" model="sale.order" report_type="qweb-pdf" name="aro_ext.custom_so_report" file="aro_ext.custom_so_report" menu="True"/>
< template id="custom_so_report_ext" inherit_id="sale.report_saleorder_document" primary="True">
< xpath expr="//th[@name='th_priceunit']" position="replace">< /xpath>
< xpath expr="//th[@name='th_subtotal']" position="replace">< /xpath>
< xpath expr="//td[@name='td_priceunit']" position="replace">< /xpath>
< xpath expr="//td[@name='td_subtotal']" position="replace">< /xpath>
< /template>
< template id="custom_so_report" inherit_id="sale.report_saleorder">
< t t-call="web.html_container">
< t t-foreach="docs" t-as="doc">
< t t-call="aro_ext.custom_so_report_ext" t-lang="doc.partner_id.lang"/>
< /t>
< /t>
< /template>
Thank you for any suggestions