From f936916f8d1edeed5ad40d2109b9fb93d3c96ea6 Mon Sep 17 00:00:00 2001 From: Maksym Yankin Date: Thu, 16 Dec 2021 10:05:39 +0200 Subject: [PATCH] [MIG] auth_jwt_demo: Migration to 15.0 --- .pre-commit-config.yaml | 1 - auth_jwt_demo/README.rst | 10 +++++----- auth_jwt_demo/__manifest__.py | 4 ++-- auth_jwt_demo/i18n/auth_jwt_demo.pot | 2 +- auth_jwt_demo/static/description/index.html | 6 +++--- setup/auth_jwt_demo/odoo/addons/auth_jwt_demo | 1 + setup/auth_jwt_demo/setup.py | 6 ++++++ 7 files changed, 18 insertions(+), 12 deletions(-) create mode 120000 setup/auth_jwt_demo/odoo/addons/auth_jwt_demo create mode 100644 setup/auth_jwt_demo/setup.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e8e1c15db1..6f2f3b5cb2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,6 @@ exclude: | (?x) # NOT INSTALLABLE ADDONS - ^auth_jwt_demo/| # END NOT INSTALLABLE ADDONS # Files and folders generated by bots, to avoid loops ^setup/|/static/description/index\.html$| diff --git a/auth_jwt_demo/README.rst b/auth_jwt_demo/README.rst index 25a9472bc5..f740030bc5 100644 --- a/auth_jwt_demo/README.rst +++ b/auth_jwt_demo/README.rst @@ -14,13 +14,13 @@ Auth JWT Test :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github - :target: https://github.com/OCA/server-auth/tree/14.0/auth_jwt_demo + :target: https://github.com/OCA/server-auth/tree/15.0/auth_jwt_demo :alt: OCA/server-auth .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/server-auth-14-0/server-auth-14-0-auth_jwt_demo + :target: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-auth_jwt_demo :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/251/14.0 + :target: https://runbot.odoo-community.org/runbot/251/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -74,7 +74,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -112,6 +112,6 @@ Current `maintainer `__: |maintainer-sbidoul| -This module is part of the `OCA/server-auth `_ project on GitHub. +This module is part of the `OCA/server-auth `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/auth_jwt_demo/__manifest__.py b/auth_jwt_demo/__manifest__.py index 6307a8f3de..04e7e4381c 100644 --- a/auth_jwt_demo/__manifest__.py +++ b/auth_jwt_demo/__manifest__.py @@ -5,7 +5,7 @@ "name": "Auth JWT Test", "summary": """ Test/demo module for auth_jwt.""", - "version": "14.0.1.2.0", + "version": "15.0.1.0.0", "license": "LGPL-3", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "maintainers": ["sbidoul"], @@ -13,5 +13,5 @@ "depends": ["auth_jwt"], "data": [], "demo": ["demo/auth_jwt_validator.xml"], - "installable": False, + "installable": True, } diff --git a/auth_jwt_demo/i18n/auth_jwt_demo.pot b/auth_jwt_demo/i18n/auth_jwt_demo.pot index 4d8b20f912..a11baf5cd7 100644 --- a/auth_jwt_demo/i18n/auth_jwt_demo.pot +++ b/auth_jwt_demo/i18n/auth_jwt_demo.pot @@ -3,7 +3,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/auth_jwt_demo/static/description/index.html b/auth_jwt_demo/static/description/index.html index 2b3fd08bf4..84d63c871c 100644 --- a/auth_jwt_demo/static/description/index.html +++ b/auth_jwt_demo/static/description/index.html @@ -367,7 +367,7 @@

Auth JWT Test

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/server-auth Translate me on Weblate Try me on Runbot

+

Beta License: LGPL-3 OCA/server-auth Translate me on Weblate Try me on Runbot

A test/demo module for auth_jwt.

Table of contents

@@ -418,7 +418,7 @@

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

+feedback.

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

@@ -444,7 +444,7 @@

Maintainers

promote its widespread use.

Current maintainer:

sbidoul

-

This module is part of the OCA/server-auth project on GitHub.

+

This module is part of the OCA/server-auth project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/setup/auth_jwt_demo/odoo/addons/auth_jwt_demo b/setup/auth_jwt_demo/odoo/addons/auth_jwt_demo new file mode 120000 index 0000000000..ee5a9ce74e --- /dev/null +++ b/setup/auth_jwt_demo/odoo/addons/auth_jwt_demo @@ -0,0 +1 @@ +../../../../auth_jwt_demo \ No newline at end of file diff --git a/setup/auth_jwt_demo/setup.py b/setup/auth_jwt_demo/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/auth_jwt_demo/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)