<template id="custom_minimal_layout" inherit_id="report.minimal_layout"> <xpath expr= "//body" position="replace"> <t t-set="need_container" t-value="False" /> <body class="container" onload="subst()" t-if="need_container"> <t t-raw="body" /> </body> <body onload="subst()" t-if="not need_container"> <t t-raw="body" /> </body> </xpath> </template>
Advertisements