-
Notifications
You must be signed in to change notification settings - Fork 0
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: Provide the ability to reload information from a…
… report view
- Loading branch information
1 parent
10a600b
commit c044cab
Showing
7 changed files
with
78 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** @odoo-module **/ | ||
/* Copyright 2024 Tecnativa - Carlos Roca | ||
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */ | ||
import {ControlPanel} from "@web/search/control_panel/control_panel"; | ||
import {Refresher} from "./refresher.esm"; | ||
|
||
ControlPanel.components = Object.assign({}, ControlPanel.components, { | ||
Refresher, | ||
}); |
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,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> |