[IMP] web_refresher: Provide the ability to reload information from a report view

This commit is contained in:
Carlos Roca
2024-02-09 11:49:48 +01:00
parent 10a600b495
commit c044cabaf3
7 changed files with 78 additions and 4 deletions

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2024 Tecnativa - Carlos Roca
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<template>
<t
t-name="web_refresher.ControlPanel.Regular"
t-inherit="web.ControlPanel.Regular"
t-inherit-mode="extension"
owl="1"
>
<xpath expr="//div[hasclass('o_cp_bottom_right')]" position="after">
<div
t-if="!display['bottom-right']"
class="o_cp_bottom_right oe_cp_refresher"
role="search"
t-ref="refresher"
>
<Refresher />
</div>
</xpath>
</t>
<t
t-name="web_refresher.ControlPanel.Small"
t-inherit="web.ControlPanel.Small"
t-inherit-mode="extension"
owl="1"
>
<xpath expr="//div[hasclass('o_cp_pager')]" position="after">
<div
t-if="!display['bottom-right']"
class="o_cp_bottom_right oe_cp_refresher"
role="search"
t-ref="refresher"
>
<Refresher />
</div>
</xpath>
</t>
</template>