Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] web_refresher: Migration to 18.0 #3001

Open
wants to merge 52 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
a2eabee
[11.0][ADD] web_refresh
josueBulle Nov 26, 2019
e6a9c19
Fix refactor
josueBulle Nov 27, 2019
d7eee3e
readme
josueBulle Dec 2, 2019
6a27852
updated manifest
quentingigon Mar 12, 2020
a686390
Added translation using Weblate (Spanish)
claudiagn Sep 16, 2020
ccd3f9b
Added translation using Weblate (Catalan)
claudiagn Feb 17, 2021
90817f4
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 15, 2021
b3f8a64
[IMP] web_refresher: black, isort, prettier
joao-p-marques Apr 12, 2021
ea69397
[MIG] web_refresher: Migration to 13.0
joao-p-marques Apr 12, 2021
bf0ab61
[IMP] web_refresher: black, isort, prettier
joao-p-marques May 25, 2021
a7e3a3b
[MIG] web_refresher: Migration to 14.0
joao-p-marques May 25, 2021
5f1711c
[UPD] Update web_refresher.pot
oca-travis May 27, 2021
7eca699
[UPD] README.rst
OCA-git-bot May 27, 2021
08a5b29
[MIG] web_refresher: Migration to 15.0
BankyKmitl Nov 24, 2021
3a47ea9
[UPD] Update web_refresher.pot
Dec 1, 2021
8513381
[UPD] README.rst
OCA-git-bot Dec 1, 2021
5b0343c
[MIG] web_refresher: Migration to 16.0
hugosantosred Oct 18, 2022
cdef846
[UPD] Update web_refresher.pot
Oct 18, 2022
036c27f
[UPD] README.rst
OCA-git-bot Oct 18, 2022
a6df0b4
Update translation files
weblate Oct 18, 2022
8de2186
[UPD] Update web_refresher.pot
Nov 30, 2022
0ca8eca
Update translation files
weblate Nov 30, 2022
cf1946a
[IMP] web_refresher: Work as component of control panel
Tardo Jul 15, 2022
7512d15
[IMP] web_refresher: Add component to pager to avoid instance for all…
CarlosRoca13 Dec 20, 2022
c17018f
[UPD] Update web_refresher.pot
Dec 21, 2022
e3c475b
[UPD] README.rst
OCA-git-bot Dec 21, 2022
2a5accc
web_refresher 16.0.2.0.0
OCA-git-bot Dec 21, 2022
10ba1bc
Update translation files
weblate Dec 21, 2022
abad9dd
Added translation using Weblate (Croatian)
badbole Jan 3, 2023
713fe12
Translated using Weblate (Croatian)
badbole Jan 3, 2023
7f56707
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
af090ae
[UPD] README.rst
OCA-git-bot Sep 3, 2023
888be68
Update translation files
weblate Oct 9, 2023
9277bbb
Added translation using Weblate (French)
remi-filament Nov 6, 2023
51e170a
Translated using Weblate (French)
remi-filament Nov 6, 2023
09f4a47
[MIG] web_refresher: Migration to 17.0
TesaLazarenko Nov 15, 2023
25aab46
[UPD] Update web_refresher.pot
Nov 24, 2023
221c3ad
[BOT] post-merge updates
OCA-git-bot Nov 24, 2023
b6b9fdd
Update translation files
weblate Feb 3, 2024
e035029
Added translation using Weblate (Italian)
mymage Feb 4, 2024
5f964a5
Translated using Weblate (Italian)
mymage Feb 4, 2024
37df424
Translated using Weblate (Spanish)
Ivorra78 Feb 6, 2024
e394f35
[IMP] web_refresher: Be able to refresh from report views
CarlosRoca13 Apr 9, 2024
c118b32
[BOT] post-merge updates
OCA-git-bot Apr 18, 2024
14af457
[IMP] web_refresher: Charge t-inherit-mode extension views just after…
CarlosRoca13 Apr 24, 2024
67e11a7
[BOT] post-merge updates
OCA-git-bot Apr 24, 2024
cff293c
[FIX] web_refresher: new record refresh
TesaLazarenko Jul 21, 2024
c62fae1
[BOT] post-merge updates
OCA-git-bot Jul 24, 2024
655e0c7
[FIX] web_refresher: bug when clicking report
TesaLazarenko Aug 12, 2024
c9e2011
[BOT] post-merge updates
OCA-git-bot Aug 12, 2024
7bc47af
[IMP] web_refresher: pre-commit auto fixes
achulii Nov 25, 2024
2688fe2
[MIG] web_refresher: Migration to 18.0
achulii Nov 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion eslint.config.cjs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be done in a general commit to the repo IMO

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And why it's needed? If it's something required, it should be reflected on the template.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And why it's needed? If it's something required, it should be reflected on the template.

This was done to remove pre-commit errors such as “setTimeout” is undefined. Can you please clarify about the template?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The template is in https://github.com/OCA/oca-addons-repo-template/ (through copier)

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jsdoc = require("eslint-plugin-jsdoc");

const config = [{
plugins: {
jsdoc,
jsdoc,
},

languageOptions: {
Expand All @@ -16,6 +16,9 @@ const config = [{
openerp: "readonly",
owl: "readonly",
luxon: "readonly",
document: "readonly",
clearTimeout: "readonly",
setTimeout: "readonly"
},

ecmaVersion: 2024,
Expand Down
94 changes: 94 additions & 0 deletions web_refresher/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
=============
Web Refresher
=============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:069c3b4875d9d2d2788d710de63401535a0e03a4259efcfd2dcf4df7731a0a83
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/18.0/web_refresher
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_refresher
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Adds a button next to the pager (in trees/kanban views) to refresh the
displayed list.

|image|

.. |image| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_refresher/static/description/refresh.png

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_refresher%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Compassion Switzerland
* Tecnativa

Contributors
------------

- Samuel Fringeli
- `Tecnativa <https://www.tecnativa.com>`__:

- João Marques
- Alexandre D. Díaz
- Carlos Roca

- Thanakrit Pintana
- `Factorlibre <https://www.factorlibre.com>`__:

- Hugo Santos

- Taras Shabaranskyi

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_refresher>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added web_refresher/__init__.py
Empty file.
29 changes: 29 additions & 0 deletions web_refresher/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "Web Refresher",
"version": "18.0.1.0.0",
"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/scss/refresher.scss",
"web_refresher/static/src/xml/refresher.xml",
# Load the modification of the master template just after it,
# for having the modification in all the primary extensions.
# Example: the project primary view.
(
"after",
"web/static/src/search/control_panel/control_panel.js",
"web_refresher/static/src/js/*.esm.js",
),
(
"after",
"web/static/src/search/control_panel/control_panel.xml",
"web_refresher/static/src/xml/control_panel.xml",
),
],
},
}
13 changes: 13 additions & 0 deletions web_refresher/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresh"
msgstr ""

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresher"
msgstr ""
32 changes: 32 additions & 0 deletions web_refresher/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_refresher
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-12-09 14:45+0000\n"
"Last-Translator: Nils Coenen | NICO SOLUTIONS - ENGINEERING & IT <nils."
"[email protected]>\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresh"
msgstr "Aktualisieren"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresher"
msgstr ""
32 changes: 32 additions & 0 deletions web_refresher/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-02 20:35+0000\n"
"PO-Revision-Date: 2024-02-06 19:37+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresh"
msgstr "Actualizar"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresher"
msgstr "Actualización"

#, python-format
#~ msgid "Pager"
#~ msgstr "Buscapersonas"
31 changes: 31 additions & 0 deletions web_refresher/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_refresher
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-06 17:37+0000\n"
"Last-Translator: Rémi <[email protected]>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresh"
msgstr "Actualiser"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresher"
msgstr ""
36 changes: 36 additions & 0 deletions web_refresher/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_refresher
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-01-04 02:42+0000\n"
"Last-Translator: Bole <[email protected]>\n"
"Language-Team: none\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresh"
msgstr "Osvježi"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresher"
msgstr ""

#, python-format
#~ msgid "Pager"
#~ msgstr "Stranice"
32 changes: 32 additions & 0 deletions web_refresher/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_refresher
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-04 16:34+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresh"
msgstr "Aggiorna"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresher"
msgstr "Aggiornatore"
13 changes: 13 additions & 0 deletions web_refresher/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresh"
msgstr ""

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresher"
msgstr ""
35 changes: 35 additions & 0 deletions web_refresher/i18n/uk_UA.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_refresher
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0-20231113\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-15 08:17+0000\n"
"PO-Revision-Date: 2023-11-15 08:17+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresh"
msgstr "Оновити"

#. module: web_refresher
#. odoo-javascript
#: code:addons/web_refresher/static/src/xml/refresher.xml:0
#, python-format
msgid "Refresher"
msgstr "Оновлювач"

#, python-format
#~ msgid "Refreshed"
#~ msgstr "Оновлено"
Loading
Loading