Skip to content

Commit b5a214b

Browse files
committed
[IMP] web_select_all_companies: pre-commit auto fixes
1 parent b2cc47d commit b5a214b

File tree

8 files changed

+39
-29
lines changed

8 files changed

+39
-29
lines changed

web_select_all_companies/README.rst

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,23 @@ Web Select All Companies
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-lightgray.png?logo=github
20-
:target: https://github.com/OCA/web/tree/16.0/web_select_all_companies
20+
:target: https://github.com/OCA/web/tree/18.0/web_select_all_companies
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_select_all_companies
23+
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_select_all_companies
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|
3030

31-
This module allows you to select or deselect all the companies in a single click.
31+
This module allows you to select or deselect all the companies in a
32+
single click.
3233

33-
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_select_all_companies/static/description/select_all_companies.png
34+
|image|
35+
36+
.. |image| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_select_all_companies/static/description/select_all_companies.png
3437

3538
**Table of contents**
3639

@@ -43,25 +46,25 @@ Bug Tracker
4346
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
4447
In case of trouble, please check there if your issue has already been reported.
4548
If you spotted it first, help us to smash it by providing a detailed and welcomed
46-
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_select_all_companies%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/issues/new?body=module:%20web_select_all_companies%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
4750

4851
Do not contact contributors directly about support or help with technical issues.
4952

5053
Credits
5154
=======
5255

5356
Authors
54-
~~~~~~~
57+
-------
5558

5659
* Camptocamp
5760

5861
Contributors
59-
~~~~~~~~~~~~
62+
------------
6063

61-
* Telmo Santos <[email protected]>
64+
- Telmo Santos <[email protected]>
6265

6366
Maintainers
64-
~~~~~~~~~~~
67+
-----------
6568

6669
This module is maintained by the OCA.
6770

@@ -73,6 +76,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
7376
mission is to support the collaborative development of Odoo features and
7477
promote its widespread use.
7578

76-
This module is part of the `OCA/web <https://github.com/OCA/web/tree/16.0/web_select_all_companies>`_ project on GitHub.
79+
This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_select_all_companies>`_ project on GitHub.
7780

7881
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Telmo Santos \<[email protected]\>

web_select_all_companies/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This module allows you to select or deselect all the companies in a
2+
single click.
3+
4+
![image](./static/description/select_all_companies.png)

web_select_all_companies/readme/DESCRIPTION.rst

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

web_select_all_companies/static/description/index.html

Lines changed: 13 additions & 10 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>
@@ -9,10 +8,11 @@
98

109
/*
1110
:Author: David Goodger ([email protected])
12-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1312
:Copyright: This stylesheet has been placed in the public domain.
1413
1514
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1616
1717
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1818
customize this style sheet.
@@ -275,7 +275,7 @@
275275
margin-left: 2em ;
276276
margin-right: 2em }
277277

278-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
279279
pre.code, code { background-color: #eeeeee }
280280
pre.code .comment, code .comment { color: #5C6576 }
281281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +301,7 @@
301301
span.pre {
302302
white-space: pre }
303303

304-
span.problematic {
304+
span.problematic, pre.problematic {
305305
color: red }
306306

307307
span.section-subtitle {
@@ -369,9 +369,10 @@ <h1 class="title">Web Select All Companies</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:33e9484d15ff36e8cdab3b893cfdb6c54b11dca7fc7ef89e420edc420d310ec1
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/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/tree/16.0/web_select_all_companies"><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_select_all_companies"><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>
373-
<p>This module allows you to select or deselect all the companies in a single click.</p>
374-
<img alt="https://raw.githubusercontent.com/OCA/web/16.0/web_select_all_companies/static/description/select_all_companies.png" src="https://raw.githubusercontent.com/OCA/web/16.0/web_select_all_companies/static/description/select_all_companies.png" />
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/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/tree/18.0/web_select_all_companies"><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_select_all_companies"><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>This module allows you to select or deselect all the companies in a
374+
single click.</p>
375+
<p><img alt="image" src="https://raw.githubusercontent.com/OCA/web/18.0/web_select_all_companies/static/description/select_all_companies.png" /></p>
375376
<p><strong>Table of contents</strong></p>
376377
<div class="contents local topic" id="contents">
377378
<ul class="simple">
@@ -389,7 +390,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
389390
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
390391
In case of trouble, please check there if your issue has already been reported.
391392
If you spotted it first, help us to smash it by providing a detailed and welcomed
392-
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_select_all_companies%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
393+
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_select_all_companies%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
393394
<p>Do not contact contributors directly about support or help with technical issues.</p>
394395
</div>
395396
<div class="section" id="credits">
@@ -409,11 +410,13 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
409410
<div class="section" id="maintainers">
410411
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
411412
<p>This module is maintained by the OCA.</p>
412-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
413+
<a class="reference external image-reference" href="https://odoo-community.org">
414+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
415+
</a>
413416
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
414417
mission is to support the collaborative development of Odoo features and
415418
promote its widespread use.</p>
416-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/16.0/web_select_all_companies">OCA/web</a> project on GitHub.</p>
419+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/18.0/web_select_all_companies">OCA/web</a> project on GitHub.</p>
417420
<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>
418421
</div>
419422
</div>

web_select_all_companies/static/src/xml/switch_all_company_menu.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
class="border-end toggle_company"
1717
t-on-click.stop="() => this.toggleSelectAllCompanies()"
1818
>
19-
<span class="btn btn-light border-0 p-2">
20-
<i
19+
<span class="btn btn-light border-0 p-2">
20+
<i
2121
class="fa fa-fw py-2 text-primary"
2222
t-att-class="isAllCompaniesSelected ? 'fa-check-square text-primary' : 'fa-square-o'"
2323
/>
24-
</span>
24+
</span>
2525
</div>
2626
<div
2727
role="button"
@@ -30,7 +30,7 @@
3030
title="Select All Companies"
3131
name="select_all_companies"
3232
>
33-
<span>All Companies</span>
33+
<span>All Companies</span>
3434
</div>
3535
</div>
3636
</DropdownItem>

0 commit comments

Comments
 (0)