account-financial-reporting/mis_template_financial_report/views/templates.xml

27 lines
1.0 KiB
XML
Raw Normal View History

2024-12-03 13:04:00 +00:00
<flectra>
<template
id="report_mis_report_instance"
inherit_id="mis_builder.report_mis_report_instance"
>
<xpath expr="//div[hasclass('mis_table')]" position="before">
<div class="mis_builder_horizontal_container">
<div class="mis_builder_horizontal_row">
<div
class="mis_builder_horizontal_cell"
t-foreach="o.horizontal and o._split_matrix(matrix) or [matrix]"
t-as="matrix"
/>
</div>
</div>
</xpath>
<xpath expr="//div[hasclass('mis_builder_horizontal_cell')]" position="inside">
<xpath expr="//div[hasclass('mis_table')]" position="move" />
</xpath>
<xpath expr="//div[hasclass('mis_table')]" position="attributes">
<attribute
name="t-attf-class"
>mis_table {{o.horizontal and 'horizontal'}}</attribute>
</xpath>
</template>
</flectra>