Skip to content

Commit 915cdef

Browse files
author
Hadrien Huvelle
committed
Resolve pre-commit
1 parent cb12753 commit 915cdef

8 files changed

Lines changed: 31 additions & 30 deletions

File tree

endpoint_auth_api_key/README.rst

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Endpoint Auth API key
1717
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1818
:alt: License: LGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb--api-lightgray.png?logo=github
20-
:target: https://github.com/OCA/web-api/tree/16.0/endpoint_auth_api_key
20+
:target: https://github.com/OCA/web-api/tree/18.0/endpoint_auth_api_key
2121
:alt: OCA/web-api
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/web-api-16-0/web-api-16-0-endpoint_auth_api_key
23+
:target: https://translation.odoo-community.org/projects/web-api-18-0/web-api-18-0-endpoint_auth_api_key
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/web-api&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/web-api&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -46,33 +46,35 @@ Bug Tracker
4646
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web-api/issues>`_.
4747
In case of trouble, please check there if your issue has already been reported.
4848
If you spotted it first, help us to smash it by providing a detailed and welcomed
49-
`feedback <https://github.com/OCA/web-api/issues/new?body=module:%20endpoint_auth_api_key%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
49+
`feedback <https://github.com/OCA/web-api/issues/new?body=module:%20endpoint_auth_api_key%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5050

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

5353
Credits
5454
=======
5555

5656
Authors
57-
~~~~~~~
57+
-------
5858

5959
* Camptocamp
6060

6161
Contributors
62-
~~~~~~~~~~~~
62+
------------
6363

64-
* Simone Orsi <simone.orsi@camptocamp.com>
65-
* `Trobz <https://trobz.com>`_:
64+
- Simone Orsi <simone.orsi@camptocamp.com>
6665

67-
* Son Ho <sonhd@trobz.com>
66+
- `Trobz <https://trobz.com>`__:
67+
68+
- Son Ho <sonhd@trobz.com>
6869

6970
Other credits
70-
~~~~~~~~~~~~~
71+
-------------
7172

72-
The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp
73+
The migration of this module from 14.0 to 16.0 was financially supported
74+
by Camptocamp
7375

7476
Maintainers
75-
~~~~~~~~~~~
77+
-----------
7678

7779
This module is maintained by the OCA.
7880

@@ -92,6 +94,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
9294

9395
|maintainer-simahawk|
9496

95-
This module is part of the `OCA/web-api <https://github.com/OCA/web-api/tree/16.0/endpoint_auth_api_key>`_ project on GitHub.
97+
This module is part of the `OCA/web-api <https://github.com/OCA/web-api/tree/18.0/endpoint_auth_api_key>`_ project on GitHub.
9698

9799
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- Simone Orsi \<<simone.orsi@camptocamp.com>\>
2+
3+
- [Trobz](https://trobz.com):
4+
5+
> - Son Ho \<<sonhd@trobz.com>\>

endpoint_auth_api_key/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp
1+
The migration of this module from 14.0 to 16.0 was financially supported
2+
by Camptocamp
File renamed without changes.

endpoint_auth_api_key/static/description/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">Endpoint Auth API key</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:b3eb2a2fa2f116c150a93e188a2ee31d785ec793407301ecb71c55dd791339f4
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web-api/tree/16.0/endpoint_auth_api_key"><img alt="OCA/web-api" src="https://img.shields.io/badge/github-OCA%2Fweb--api-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-api-16-0/web-api-16-0-endpoint_auth_api_key"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web-api&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web-api/tree/18.0/endpoint_auth_api_key"><img alt="OCA/web-api" src="https://img.shields.io/badge/github-OCA%2Fweb--api-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-api-18-0/web-api-18-0-endpoint_auth_api_key"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web-api&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>Provide API key auth for endpoints.</p>
374374
<div class="admonition important">
375375
<p class="first admonition-title">Important</p>
@@ -395,7 +395,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
395395
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web-api/issues">GitHub Issues</a>.
396396
In case of trouble, please check there if your issue has already been reported.
397397
If you spotted it first, help us to smash it by providing a detailed and welcomed
398-
<a class="reference external" href="https://github.com/OCA/web-api/issues/new?body=module:%20endpoint_auth_api_key%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
398+
<a class="reference external" href="https://github.com/OCA/web-api/issues/new?body=module:%20endpoint_auth_api_key%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
399399
<p>Do not contact contributors directly about support or help with technical issues.</p>
400400
</div>
401401
<div class="section" id="credits">
@@ -422,7 +422,8 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
422422
</div>
423423
<div class="section" id="other-credits">
424424
<h2><a class="toc-backref" href="#toc-entry-5">Other credits</a></h2>
425-
<p>The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp</p>
425+
<p>The migration of this module from 14.0 to 16.0 was financially supported
426+
by Camptocamp</p>
426427
</div>
427428
<div class="section" id="maintainers">
428429
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
@@ -435,7 +436,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
435436
promote its widespread use.</p>
436437
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
437438
<p><a class="reference external image-reference" href="https://github.com/simahawk"><img alt="simahawk" src="https://github.com/simahawk.png?size=40px" /></a></p>
438-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web-api/tree/16.0/endpoint_auth_api_key">OCA/web-api</a> project on GitHub.</p>
439+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web-api/tree/18.0/endpoint_auth_api_key">OCA/web-api</a> project on GitHub.</p>
439440
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
440441
</div>
441442
</div>

endpoint_auth_api_key/views/endpoint_view.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,19 @@
22
<!-- Copyright 2021 Camptocamp SA
33
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
44
<odoo>
5-
65
<record model="ir.ui.view" id="endpoint_mixin_form_view">
76
<field name="model">endpoint.mixin</field>
87
<field name="inherit_id" ref="endpoint.endpoint_mixin_form_view" />
98
<field name="arch" type="xml">
109
<group name="auth" position="inside">
11-
<field
12-
name="auth_api_key_group_ids"
13-
widget="many2many_tags"
14-
15-
/>
10+
<field name="auth_api_key_group_ids" widget="many2many_tags" />
1611
<button
1712
class="btn-sm"
1813
type="object"
1914
name="action_view_api_key_groups"
2015
string="Manage groups"
21-
2216
/>
2317
</group>
2418
</field>
2519
</record>
26-
2720
</odoo>

0 commit comments

Comments
 (0)