Skip to content

Commit fcd71c1

Browse files
[IMP] web_widget_one2many_tree_line_duplicate: pre-commit auto fixes
1 parent 8cdff65 commit fcd71c1

File tree

10 files changed

+39
-35
lines changed

10 files changed

+39
-35
lines changed

web_widget_one2many_tree_line_duplicate/README.rst

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Web Widget One2many Tree Line Duplicate
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
20-
:target: https://github.com/OCA/web/tree/16.0/web_widget_one2many_tree_line_duplicate
20+
:target: https://github.com/OCA/web/tree/18.0/web_widget_one2many_tree_line_duplicate
2121
:alt: OCA/web
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_one2many_tree_line_duplicate
23+
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_one2many_tree_line_duplicate
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&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -38,7 +38,8 @@ Allow to add a icon to clone the line.
3838
Usage
3939
=====
4040

41-
This module works on all one2many tree views. The cloning process doesn't trigger onchange/default calls.
41+
This module works on all one2many tree views. The cloning process
42+
doesn't trigger onchange/default calls.
4243

4344
**Available Options**
4445

@@ -48,41 +49,41 @@ This module works on all one2many tree views. The cloning process doesn't trigge
4849

4950
.. code:: xml
5051
51-
<field name="order_line" widget="section_and_note_one2many" mode="tree,kanban" options="{'allow_clone': True}" attrs="{'readonly': [('state', 'in', ('done','cancel'))]}">
52+
<field name="order_line" widget="section_and_note_one2many" mode="tree,kanban" options="{'allow_clone': True}" attrs="{'readonly': [('state', 'in', ('done','cancel'))]}">
5253
5354
Known issues / Roadmap
5455
======================
5556

56-
* Add an option to control which columns are copied
57+
- Add an option to control which columns are copied
5758

5859
Bug Tracker
5960
===========
6061

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

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

6869
Credits
6970
=======
7071

7172
Authors
72-
~~~~~~~
73+
-------
7374

7475
* Tecnativa
7576

7677
Contributors
77-
~~~~~~~~~~~~
78+
------------
7879

79-
* `Tecnativa <https://www.tecnativa.com/>`_:
80+
- `Tecnativa <https://www.tecnativa.com/>`__:
8081

81-
* Alexandre Díaz
82-
* Carlos Roca
82+
- Alexandre Díaz
83+
- Carlos Roca
8384

8485
Maintainers
85-
~~~~~~~~~~~
86+
-----------
8687

8788
This module is maintained by the OCA.
8889

@@ -94,6 +95,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9495
mission is to support the collaborative development of Odoo features and
9596
promote its widespread use.
9697

97-
This module is part of the `OCA/web <https://github.com/OCA/web/tree/16.0/web_widget_one2many_tree_line_duplicate>`_ project on GitHub.
98+
This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_widget_one2many_tree_line_duplicate>`_ project on GitHub.
9899

99100
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- [Tecnativa](https://www.tecnativa.com/):
2+
- Alexandre Díaz
3+
- Carlos Roca

web_widget_one2many_tree_line_duplicate/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Add an option to control which columns are copied

web_widget_one2many_tree_line_duplicate/readme/ROADMAP.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
This module works on all one2many tree views. The cloning process
2+
doesn't trigger onchange/default calls.
3+
4+
**Available Options**
5+
6+
- allow_clone \> Add the icon to clone the line (default: false)
7+
8+
**Examples**
9+
10+
``` xml
11+
<field name="order_line" widget="section_and_note_one2many" mode="tree,kanban" options="{'allow_clone': True}" attrs="{'readonly': [('state', 'in', ('done','cancel'))]}">
12+
```

web_widget_one2many_tree_line_duplicate/readme/USAGE.rst

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

web_widget_one2many_tree_line_duplicate/static/description/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
43
<head>
@@ -370,7 +369,7 @@ <h1 class="title">Web Widget One2many Tree Line Duplicate</h1>
370369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
371370
!! source digest: sha256:0a96e20808687d52d22565143495374cad5121234c141e804bf8b9f06f9616d4
372371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
373-
<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/16.0/web_widget_one2many_tree_line_duplicate"><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-16-0/web-16-0-web_widget_one2many_tree_line_duplicate"><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=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="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_widget_one2many_tree_line_duplicate"><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_widget_one2many_tree_line_duplicate"><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>
374373
<p>Allow to add a icon to clone the line.</p>
375374
<p><strong>Table of contents</strong></p>
376375
<div class="contents local topic" id="contents">
@@ -388,7 +387,8 @@ <h1 class="title">Web Widget One2many Tree Line Duplicate</h1>
388387
</div>
389388
<div class="section" id="usage">
390389
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
391-
<p>This module works on all one2many tree views. The cloning process doesn’t trigger onchange/default calls.</p>
390+
<p>This module works on all one2many tree views. The cloning process
391+
doesn’t trigger onchange/default calls.</p>
392392
<p><strong>Available Options</strong></p>
393393
<ul class="simple">
394394
<li>allow_clone &gt; Add the icon to clone the line (default: false)</li>
@@ -409,7 +409,7 @@ <h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
409409
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
410410
In case of trouble, please check there if your issue has already been reported.
411411
If you spotted it first, help us to smash it by providing a detailed and welcomed
412-
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_widget_one2many_tree_line_duplicate%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
412+
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_widget_one2many_tree_line_duplicate%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
413413
<p>Do not contact contributors directly about support or help with technical issues.</p>
414414
</div>
415415
<div class="section" id="credits">
@@ -439,7 +439,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
439439
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
440440
mission is to support the collaborative development of Odoo features and
441441
promote its widespread use.</p>
442-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/16.0/web_widget_one2many_tree_line_duplicate">OCA/web</a> project on GitHub.</p>
442+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/18.0/web_widget_one2many_tree_line_duplicate">OCA/web</a> project on GitHub.</p>
443443
<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>
444444
</div>
445445
</div>

0 commit comments

Comments
 (0)