[FIX] web_refresher: new record refresh

This commit is contained in:
Taras Shabaranskyi
2024-07-21 02:51:21 +03:00
parent c177834d57
commit 324c5ea02d
4 changed files with 23 additions and 16 deletions

View File

@@ -10,7 +10,7 @@
>
<xpath expr="//div[hasclass('o_cp_pager')]" position="before">
<div class="oe_cp_refresher" role="search" t-ref="refresher">
<Refresher t-props="refresherProps" />
<Refresher t-if="displayRefresher" t-props="refresherProps" />
</div>
</xpath>
<xpath expr="//div[hasclass('o_cp_bottom_right')]" position="before">
@@ -19,7 +19,7 @@
class="o_cp_bottom_right d-flex flex-row-reverse"
>
<div class="oe_cp_refresher" role="search" t-ref="refresher">
<Refresher refresherReport="true" />
<Refresher t-if="displayRefresher" refresherReport="true" />
</div>
</div>
</xpath>
@@ -32,7 +32,7 @@
>
<xpath expr="//div[hasclass('o_cp_pager')]" position="before">
<div class="oe_cp_refresher" role="search" t-ref="refresher">
<Refresher t-props="refresherProps" />
<Refresher t-if="displayRefresher" t-props="refresherProps" />
</div>
</xpath>
<xpath expr="//div[hasclass('o_cp_bottom_right')]" position="before">
@@ -41,7 +41,7 @@
class="o_cp_bottom_right d-flex flex-row-reverse"
>
<div class="oe_cp_refresher" role="search" t-ref="refresher">
<Refresher refresherReport="true" />
<Refresher t-if="displayRefresher" refresherReport="true" />
</div>
</div>
</xpath>

View File

@@ -10,7 +10,7 @@
>
<xpath expr="//div[hasclass('o_cp_pager')]" position="before">
<div class="oe_cp_refresher" role="search" t-ref="refresher">
<Refresher t-props="refresherProps" />
<Refresher t-if="displayRefresher" t-props="refresherProps" />
</div>
</xpath>
<xpath expr="//div[hasclass('o_cp_bottom_right')]" position="before">
@@ -19,7 +19,7 @@
class="o_cp_bottom_right d-flex flex-row-reverse"
>
<div class="oe_cp_refresher" role="search" t-ref="refresher">
<Refresher refresherReport="true" />
<Refresher t-if="displayRefresher" refresherReport="true" />
</div>
</div>
</xpath>