Dear community,
I want to modify the header and footer of web.external_layout_standard in my custom module. I've tried several tutorials but always the same error:
Can not separate file to save as attachment because the report's template does not contains the attributes 'data-oe-model' and 'data-oe-id' on the div with 'article' classname.
E.g.:
<template id="my_layout_standard" inherit_id="web.external_layout_standard">
<xpath expr="." position="replace">
<div t-attf-class="article" t-att-data-oe-model="o and o._name" t-att-data-oe-id="o and o.id" t-att-data-oe-lang="o and o.env.context.get('lang')">
<div class="pt-5">
<t t-call="web.address_layout"/>
</div>
<t t-raw="0"/>
</div>
</xpath>
</template>
How can i modify via XML module installation the header and footer of web.external_layout_standard.
It is possible via user interface but i would like to modify it via update/installation of the module.
Thank you in advance,
best reagards,
Markus