diff --git a/auth_api_key/README.rst b/auth_api_key/README.rst index 2424a6caaa..6fc2d05e57 100644 --- a/auth_api_key/README.rst +++ b/auth_api_key/README.rst @@ -97,6 +97,13 @@ Contributors - Quentin Groulard - Sébastien Beau - Chafique Delli +- Thien Vo Hong + +Other credits +------------- + +The migration of this module from 17.0 to 18.0 was financially supported +by Camptocamp. Maintainers ----------- diff --git a/auth_api_key/__manifest__.py b/auth_api_key/__manifest__.py index afac87f495..a8fa4ae7a4 100644 --- a/auth_api_key/__manifest__.py +++ b/auth_api_key/__manifest__.py @@ -5,7 +5,7 @@ "name": "Auth Api Key", "summary": """ Authenticate http requests from an API key""", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "license": "LGPL-3", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/server-auth", diff --git a/auth_api_key/models/auth_api_key.py b/auth_api_key/models/auth_api_key.py index dfc61f1c30..cdbda3b93e 100644 --- a/auth_api_key/models/auth_api_key.py +++ b/auth_api_key/models/auth_api_key.py @@ -43,7 +43,7 @@ def _retrieve_api_key_id(self, key): for api_key in self.search([]): if api_key.key and consteq(key, api_key.key): return api_key.id - raise ValidationError(_("The key %s is not allowed") % key) + raise ValidationError(_(f"The key {key} is not allowed")) @api.model @tools.ormcache("key") diff --git a/auth_api_key/readme/CONTRIBUTORS.md b/auth_api_key/readme/CONTRIBUTORS.md index 1168b409a3..efda422667 100644 --- a/auth_api_key/readme/CONTRIBUTORS.md +++ b/auth_api_key/readme/CONTRIBUTORS.md @@ -3,3 +3,4 @@ - Quentin Groulard \<\> - Sébastien Beau \<\> - Chafique Delli \<\> +- Thien Vo Hong \<\> diff --git a/auth_api_key/readme/CREDITS.md b/auth_api_key/readme/CREDITS.md new file mode 100644 index 0000000000..a2a771b1ca --- /dev/null +++ b/auth_api_key/readme/CREDITS.md @@ -0,0 +1 @@ +The migration of this module from 17.0 to 18.0 was financially supported by Camptocamp. \ No newline at end of file diff --git a/auth_api_key/static/description/index.html b/auth_api_key/static/description/index.html index 6fb09ac5d9..c1b7ac4c31 100644 --- a/auth_api_key/static/description/index.html +++ b/auth_api_key/static/description/index.html @@ -388,7 +388,8 @@

Auth Api Key

  • Credits
  • @@ -438,10 +439,16 @@

    Contributors

  • Quentin Groulard <quentin.groulard@acsone.eu>
  • Sébastien Beau <sebastien.beau@akretion.com>
  • Chafique Delli <chafique.delli@akretion.com>
  • +
  • Thien Vo Hong <thienvh@trobz.com>
  • +
    +

    Other credits

    +

    The migration of this module from 17.0 to 18.0 was financially supported +by Camptocamp.

    +