I don't want the External Header that appears in all report pages to be displayed in all reports. For some reports I want to show the header and for others its should be hidden. Is there any way to add this functionality in Odoo via XML coding in the addons?
I don't want to comment the xml code under 'External Header' in the Odoo's User interface. I am using Odoo v10. I only want to hide the below section:
<div class="row">
<div class="col-xs-6" name="company_address">
<span t-field="company.partner_id" t-field-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": true}" style="border-bottom: 1px solid black; display:inline-block;"/>
</div>
</div>
When I try to comment this code from the UI of Odoo , a blank space for the above section is left in the report.
You Can Inherit any template by this way