-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] web_refresher: Charge t-inherit-mode extension views just after…
… the main By doing this, the extension view is charged just after the main, so if some other views are using this other, to make a primary one, like project is doing for project.task control_panel, the refresher will continue be shown.
- Loading branch information
1 parent
5f6aa6c
commit 171c27d
Showing
5 changed files
with
51 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?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.FormControlPanel" | ||
t-inherit="web.FormControlPanel" | ||
t-inherit-mode="extension" | ||
owl="1" | ||
> | ||
<xpath expr="//div[hasclass('o_cp_pager')]" position="before"> | ||
<div class="oe_cp_refresher" role="search" t-ref="refresher"> | ||
<Refresher t-props="refresherProps" /> | ||
</div> | ||
</xpath> | ||
<xpath expr="//div[hasclass('o_cp_bottom_right')]" position="before"> | ||
<div | ||
t-if="!display['bottom-right']" | ||
class="o_cp_bottom_right d-flex flex-row-reverse" | ||
> | ||
<div class="oe_cp_refresher" role="search" t-ref="refresher"> | ||
<Refresher refresherReport="true" /> | ||
</div> | ||
</div> | ||
</xpath> | ||
</t> | ||
</template> |