Skip to content

Commit fa5ec6c

Browse files
committed
[IMP] web_m2x_options_manager: pre-commit auto fixes
1 parent 1de94e9 commit fa5ec6c

File tree

12 files changed

+46
-58
lines changed

12 files changed

+46
-58
lines changed

web_m2x_options_manager/README.rst

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. image:: https://odoo-community.org/readme-banner-image
2-
:target: https://odoo-community.org/get-involved?utm_source=readme
3-
:alt: Odoo Community Association
4-
51
=======================
62
Web M2X Options Manager
73
=======================
@@ -17,23 +13,23 @@ Web M2X Options Manager
1713
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1814
:target: https://odoo-community.org/page/development-status
1915
:alt: Beta
20-
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
2117
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2218
:alt: License: AGPL-3
2319
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
24-
:target: https://github.com/OCA/web/tree/14.0/web_m2x_options_manager
20+
:target: https://github.com/OCA/web/tree/18.0/web_m2x_options_manager
2521
:alt: OCA/web
2622
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27-
:target: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_m2x_options_manager
23+
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_m2x_options_manager
2824
:alt: Translate me on Weblate
2925
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30-
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=14.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
3127
:alt: Try me on Runboat
3228

3329
|badge1| |badge2| |badge3| |badge4| |badge5|
3430

35-
Allows managing the "Create..." and "Create and Edit..." options for `Many2one`
36-
and `Many2many` fields directly from the `ir.model` form view.
31+
Allows managing the "Create..." and "Create and Edit..." options for
32+
Many2one and Many2many fields directly from the ir.model form view.
3733

3834
**Table of contents**
3935

@@ -48,36 +44,36 @@ Go to Settings > Technical > Models.
4844
Choose the model you wish to edit, and open its form view. Go to the
4945
"Create/Edit Options" tab, and add the fields you want to manage.
5046

51-
Button "Fill" will add every missing field to the options.
52-
Button "Empty" will remove every option.
47+
Button "Fill" will add every missing field to the options. Button
48+
"Empty" will remove every option.
5349

5450
Bug Tracker
5551
===========
5652

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

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

6460
Credits
6561
=======
6662

6763
Authors
68-
~~~~~~~
64+
-------
6965

7066
* Camptocamp
7167

7268
Contributors
73-
~~~~~~~~~~~~
69+
------------
7470

75-
* `Camptocamp <https://www.camptocamp.com>`__:
71+
- `Camptocamp <https://www.camptocamp.com>`__:
7672

77-
* Silvio Gregorini
73+
- Silvio Gregorini
7874

7975
Maintainers
80-
~~~~~~~~~~~
76+
-----------
8177

8278
This module is maintained by the OCA.
8379

@@ -89,6 +85,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
8985
mission is to support the collaborative development of Odoo features and
9086
promote its widespread use.
9187

92-
This module is part of the `OCA/web <https://github.com/OCA/web/tree/14.0/web_m2x_options_manager>`_ project on GitHub.
88+
This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_m2x_options_manager>`_ project on GitHub.
9389

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

web_m2x_options_manager/demo/res_partner_demo_view.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<odoo>
3-
43
<record id="res_partner_demo_form_view" model="ir.ui.view">
54
<field name="name">res.partner.demo.form.view</field>
65
<field name="model">res.partner</field>
@@ -25,5 +24,4 @@
2524
</form>
2625
</field>
2726
</record>
28-
2927
</odoo>
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- [Camptocamp](https://www.camptocamp.com):
2+
- Silvio Gregorini

web_m2x_options_manager/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Allows managing the "Create..." and "Create and Edit..." options for
2+
Many2one and Many2many fields directly from the ir.model form view.

web_m2x_options_manager/readme/DESCRIPTION.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Go to Settings \> Technical \> Models.
2+
3+
Choose the model you wish to edit, and open its form view. Go to the
4+
"Create/Edit Options" tab, and add the fields you want to manage.
5+
6+
Button "Fill" will add every missing field to the options. Button
7+
"Empty" will remove every option.

web_m2x_options_manager/readme/USAGE.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

web_m2x_options_manager/static/description/index.html

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>README.rst</title>
6+
<title>Web M2X Options Manager</title>
77
<style type="text/css">
88

99
/*
@@ -360,23 +360,18 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document">
363+
<div class="document" id="web-m2x-options-manager">
364+
<h1 class="title">Web M2X Options Manager</h1>
364365

365-
366-
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367-
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368-
</a>
369-
<div class="section" id="web-m2x-options-manager">
370-
<h1>Web M2X Options Manager</h1>
371366
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
372367
!! This file is generated by oca-gen-addon-readme !!
373368
!! changes will be overwritten. !!
374369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375370
!! source digest: sha256:8fb782766d95bc5d8efca92d125da25cac1412d08d1f16e449724541dc00135b
376371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/14.0/web_m2x_options_manager"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_m2x_options_manager"><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&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378-
<p>Allows managing the “Create…” and “Create and Edit…” options for <cite>Many2one</cite>
379-
and <cite>Many2many</cite> fields directly from the <cite>ir.model</cite> form view.</p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/18.0/web_m2x_options_manager"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_m2x_options_manager"><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&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373+
<p>Allows managing the “Create…” and “Create and Edit…” options for
374+
Many2one and Many2many fields directly from the ir.model form view.</p>
380375
<p><strong>Table of contents</strong></p>
381376
<div class="contents local topic" id="contents">
382377
<ul class="simple">
@@ -391,31 +386,31 @@ <h1>Web M2X Options Manager</h1>
391386
</ul>
392387
</div>
393388
<div class="section" id="usage">
394-
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
389+
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
395390
<p>Go to Settings &gt; Technical &gt; Models.</p>
396391
<p>Choose the model you wish to edit, and open its form view. Go to the
397392
“Create/Edit Options” tab, and add the fields you want to manage.</p>
398-
<p>Button “Fill” will add every missing field to the options.
399-
Button “Empty” will remove every option.</p>
393+
<p>Button “Fill” will add every missing field to the options. Button
394+
“Empty” will remove every option.</p>
400395
</div>
401396
<div class="section" id="bug-tracker">
402-
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
397+
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
403398
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
404399
In case of trouble, please check there if your issue has already been reported.
405400
If you spotted it first, help us to smash it by providing a detailed and welcomed
406-
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_m2x_options_manager%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
401+
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_m2x_options_manager%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
407402
<p>Do not contact contributors directly about support or help with technical issues.</p>
408403
</div>
409404
<div class="section" id="credits">
410-
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
405+
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
411406
<div class="section" id="authors">
412-
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
407+
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
413408
<ul class="simple">
414409
<li>Camptocamp</li>
415410
</ul>
416411
</div>
417412
<div class="section" id="contributors">
418-
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
413+
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
419414
<ul class="simple">
420415
<li><a class="reference external" href="https://www.camptocamp.com">Camptocamp</a>:<ul>
421416
<li>Silvio Gregorini</li>
@@ -424,19 +419,18 @@ <h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
424419
</ul>
425420
</div>
426421
<div class="section" id="maintainers">
427-
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
422+
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
428423
<p>This module is maintained by the OCA.</p>
429424
<a class="reference external image-reference" href="https://odoo-community.org">
430425
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
431426
</a>
432427
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
433428
mission is to support the collaborative development of Odoo features and
434429
promote its widespread use.</p>
435-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/14.0/web_m2x_options_manager">OCA/web</a> project on GitHub.</p>
430+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/18.0/web_m2x_options_manager">OCA/web</a> project on GitHub.</p>
436431
<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>
437432
</div>
438433
</div>
439434
</div>
440-
</div>
441435
</body>
442436
</html>

0 commit comments

Comments
 (0)