diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 54a87467..c2dcc8ba 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,7 +1,6 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
- ^base_rest_auth_api_key/|
^base_rest_auth_jwt/|
^base_rest_auth_user_service/|
^base_rest_datamodel/|
diff --git a/base_rest_auth_api_key/README.rst b/base_rest_auth_api_key/README.rst
index d2a6d32f..1d5a5279 100644
--- a/base_rest_auth_api_key/README.rst
+++ b/base_rest_auth_api_key/README.rst
@@ -14,13 +14,13 @@ Base Rest Auth Api Key
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frest--framework-lightgray.png?logo=github
- :target: https://github.com/OCA/rest-framework/tree/14.0/base_rest_auth_api_key
+ :target: https://github.com/OCA/rest-framework/tree/15.0/base_rest_auth_api_key
:alt: OCA/rest-framework
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/rest-framework-14-0/rest-framework-14-0-base_rest_auth_api_key
+ :target: https://translation.odoo-community.org/projects/rest-framework-15-0/rest-framework-15-0-base_rest_auth_api_key
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
- :target: https://runbot.odoo-community.org/runbot/271/14.0
+ :target: https://runbot.odoo-community.org/runbot/271/15.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -40,7 +40,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.
@@ -78,6 +78,6 @@ Current `maintainer `__:
|maintainer-lmignon|
-This module is part of the `OCA/rest-framework `_ project on GitHub.
+This module is part of the `OCA/rest-framework `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/base_rest_auth_api_key/__manifest__.py b/base_rest_auth_api_key/__manifest__.py
index 6f6ad971..47f36021 100644
--- a/base_rest_auth_api_key/__manifest__.py
+++ b/base_rest_auth_api_key/__manifest__.py
@@ -6,13 +6,13 @@
"summary": """
Base Rest: Add support for the auth_api_key security policy into the
openapi documentation""",
- "version": "14.0.1.0.2",
+ "version": "15.0.1.0.0",
"license": "LGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/rest-framework",
"depends": ["base_rest", "auth_api_key"],
"maintainers": ["lmignon"],
- "installable": False,
+ "installable": True,
"auto_install": True,
"external_dependencies": {
"python": [
diff --git a/base_rest_auth_api_key/apispec/rest_method_security_plugin.py b/base_rest_auth_api_key/apispec/rest_method_security_plugin.py
index 2d2322ae..f9b4a9cc 100644
--- a/base_rest_auth_api_key/apispec/rest_method_security_plugin.py
+++ b/base_rest_auth_api_key/apispec/rest_method_security_plugin.py
@@ -9,6 +9,7 @@ def __init__(self, service):
super(RestMethodSecurityPlugin, self).__init__()
self._service = service
+ # pylint: disable=W8110
def init_spec(self, spec):
super(RestMethodSecurityPlugin, self).init_spec(spec)
self.spec = spec
diff --git a/base_rest_auth_api_key/i18n/base_rest_auth_api_key.pot b/base_rest_auth_api_key/i18n/base_rest_auth_api_key.pot
index 4d8b20f9..a11baf5c 100644
--- a/base_rest_auth_api_key/i18n/base_rest_auth_api_key.pot
+++ b/base_rest_auth_api_key/i18n/base_rest_auth_api_key.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/base_rest_auth_api_key/static/description/index.html b/base_rest_auth_api_key/static/description/index.html
index 6817d039..f9a21e31 100644
--- a/base_rest_auth_api_key/static/description/index.html
+++ b/base_rest_auth_api_key/static/description/index.html
@@ -367,7 +367,7 @@ Base Rest Auth Api Key
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This technical addon extend base_rest to add the support for auth_api_key
authentication mechanism into the generated openapi documentation.
Table of contents
@@ -387,7 +387,7 @@
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.
diff --git a/setup/base_rest_auth_api_key/odoo/addons/base_rest_auth_api_key b/setup/base_rest_auth_api_key/odoo/addons/base_rest_auth_api_key
new file mode 120000
index 00000000..58566db9
--- /dev/null
+++ b/setup/base_rest_auth_api_key/odoo/addons/base_rest_auth_api_key
@@ -0,0 +1 @@
+../../../../base_rest_auth_api_key
\ No newline at end of file
diff --git a/setup/base_rest_auth_api_key/setup.py b/setup/base_rest_auth_api_key/setup.py
new file mode 100644
index 00000000..28c57bb6
--- /dev/null
+++ b/setup/base_rest_auth_api_key/setup.py
@@ -0,0 +1,6 @@
+import setuptools
+
+setuptools.setup(
+ setup_requires=['setuptools-odoo'],
+ odoo_addon=True,
+)