如何在odoo 12中为报表自定义或添加公共页眉和页脚?我发现了四种类型的报告布局(背景,盒装,清洁和标准)。但我无法添加页眉和页脚。有没有办法为odoo版本12中的所有报告添加公共页眉和页脚?
您可以继承默认布局并根据您的要求进行修改
<template id="web_external_layout_iherited"
inherit_id="web.external_layout_standard" customize_show="True"
name="Automatic Header">
<xpath expr="//div[@class='header']" position="replace">
</xpath>
</template>