From c027ded1936a3e561ac7c2bbe7c68d2d10c03662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=2E=20D=C3=ADaz?= Date: Fri, 15 Jul 2022 20:29:40 +0200 Subject: [PATCH] [IMP] web_refresher: Work as component of control panel --- web_refresher/README.rst | 2 + web_refresher/__manifest__.py | 10 ++++- web_refresher/readme/CONTRIBUTORS.rst | 1 + web_refresher/static/description/index.html | 4 +- web_refresher/static/src/js/refresher.js | 42 +++++++++++++++++ web_refresher/static/src/scss/refresher.scss | 7 +++ web_refresher/static/src/xml/pager_button.xml | 25 ----------- web_refresher/static/src/xml/refresher.xml | 45 +++++++++++++++++++ 8 files changed, 108 insertions(+), 28 deletions(-) create mode 100644 web_refresher/static/src/js/refresher.js create mode 100644 web_refresher/static/src/scss/refresher.scss delete mode 100644 web_refresher/static/src/xml/pager_button.xml create mode 100644 web_refresher/static/src/xml/refresher.xml diff --git a/web_refresher/README.rst b/web_refresher/README.rst index b393e0491..b02c18448 100644 --- a/web_refresher/README.rst +++ b/web_refresher/README.rst @@ -51,6 +51,7 @@ Authors ~~~~~~~ * Compassion Switzerland +* Tecnativa Contributors ~~~~~~~~~~~~ @@ -59,6 +60,7 @@ Contributors * `Tecnativa `__: * João Marques + * Alexandre D. Díaz * Thanakrit Pintana * `Factorlibre `__: diff --git a/web_refresher/__manifest__.py b/web_refresher/__manifest__.py index ee2db6b71..a2dba50c3 100644 --- a/web_refresher/__manifest__.py +++ b/web_refresher/__manifest__.py @@ -1,11 +1,17 @@ { "name": "Web Refresher", "version": "16.0.1.0.0", - "author": "Compassion Switzerland, Odoo Community Association (OCA)", + "author": "Compassion Switzerland, Tecnativa, Odoo Community Association (OCA)", "license": "AGPL-3", "website": "https://github.com/OCA/web", "depends": ["web"], "installable": True, "auto_install": False, - "assets": {"web.assets_backend": ["web_refresher/static/src/xml/pager_button.xml"]}, + "assets": { + "web.assets_backend": [ + "web_refresher/static/src/scss/refresher.scss", + "web_refresher/static/src/js/refresher.js", + "web_refresher/static/src/xml/refresher.xml", + ], + }, } diff --git a/web_refresher/readme/CONTRIBUTORS.rst b/web_refresher/readme/CONTRIBUTORS.rst index 9b1769b4d..8dbf1e5c8 100644 --- a/web_refresher/readme/CONTRIBUTORS.rst +++ b/web_refresher/readme/CONTRIBUTORS.rst @@ -2,6 +2,7 @@ * `Tecnativa `__: * João Marques + * Alexandre D. Díaz * Thanakrit Pintana * `Factorlibre `__: diff --git a/web_refresher/static/description/index.html b/web_refresher/static/description/index.html index 8512e71b1..c6659cbb2 100644 --- a/web_refresher/static/description/index.html +++ b/web_refresher/static/description/index.html @@ -3,7 +3,7 @@ - + Web Refresher