Skip to content

Commit a9ebd34

Browse files
manuelregidorBhaveshHeliconia
authored andcommitted
[IMP] delivery_carrier_manual_weight: black, isort, prettier
1 parent 7399e30 commit a9ebd34

File tree

8 files changed

+37
-34
lines changed

8 files changed

+37
-34
lines changed

delivery_carrier_manual_weight/README.rst

+15-14
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ Delivery Carrier Manual Weight
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%2Fdelivery--carrier-lightgray.png?logo=github
20-
:target: https://github.com/OCA/delivery-carrier/tree/16.0/delivery_carrier_manual_weight
20+
:target: https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_manual_weight
2121
:alt: OCA/delivery-carrier
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-delivery_carrier_manual_weight
23+
:target: https://translation.odoo-community.org/projects/delivery-carrier-17-0/delivery-carrier-17-0-delivery_carrier_manual_weight
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/delivery-carrier&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&target_branch=17.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

31-
This module adds a flag in Shipping Methods to allow to set manually the weight
32-
and shipping weight in each transfer.
31+
This module adds a flag in Shipping Methods to allow to set manually the
32+
weight and shipping weight in each transfer.
3333

3434
**Table of contents**
3535

@@ -39,35 +39,36 @@ and shipping weight in each transfer.
3939
Usage
4040
=====
4141

42-
In stock transfers, when using a 'Manual Weights' carrier, two new fields will
43-
be available to fill manually the weight and the shipping weight.
42+
In stock transfers, when using a 'Manual Weights' carrier, two new
43+
fields will be available to fill manually the weight and the shipping
44+
weight.
4445

4546
Bug Tracker
4647
===========
4748

4849
Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery-carrier/issues>`_.
4950
In case of trouble, please check there if your issue has already been reported.
5051
If you spotted it first, help us to smash it by providing a detailed and welcomed
51-
`feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_carrier_manual_weight%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
52+
`feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_carrier_manual_weight%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5253

5354
Do not contact contributors directly about support or help with technical issues.
5455

5556
Credits
5657
=======
5758

5859
Authors
59-
~~~~~~~
60+
-------
6061

6162
* ForgeFlow
6263

6364
Contributors
64-
~~~~~~~~~~~~
65+
------------
6566

66-
* Jordi Masvidal <jordi.masvidal@forgeflow.com>
67-
* Marina Alapont <marina.alapont@forgeflow.com>
67+
- Jordi Masvidal <jordi.masvidal@forgeflow.com>
68+
- Marina Alapont <marina.alapont@forgeflow.com>
6869

6970
Maintainers
70-
~~~~~~~~~~~
71+
-----------
7172

7273
This module is maintained by the OCA.
7374

@@ -79,6 +80,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
7980
mission is to support the collaborative development of Odoo features and
8081
promote its widespread use.
8182

82-
This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/16.0/delivery_carrier_manual_weight>`_ project on GitHub.
83+
This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_manual_weight>`_ project on GitHub.
8384

8485
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Jordi Masvidal \<<jordi.masvidal@forgeflow.com>\>
2+
- Marina Alapont \<<marina.alapont@forgeflow.com>\>

delivery_carrier_manual_weight/readme/CONTRIBUTORS.rst

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
This module adds a flag in Shipping Methods to allow to set manually the weight
2-
and shipping weight in each transfer.
1+
This module adds a flag in Shipping Methods to allow to set manually the
2+
weight and shipping weight in each transfer.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
In stock transfers, when using a 'Manual Weights' carrier, two new
2+
fields will be available to fill manually the weight and the shipping
3+
weight.

delivery_carrier_manual_weight/readme/USAGE.rst

-2
This file was deleted.

delivery_carrier_manual_weight/static/description/index.html

+12-14
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88

99
/*
1010
:Author: David Goodger (goodger@python.org)
11-
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
11+
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
1212
:Copyright: This stylesheet has been placed in the public domain.
1313
1414
Default cascading style sheet for the HTML output of Docutils.
15-
Despite the name, some widely supported CSS2 features are used.
1615
1716
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1817
customize this style sheet.
@@ -275,7 +274,7 @@
275274
margin-left: 2em ;
276275
margin-right: 2em }
277276

278-
pre.code .ln { color: gray; } /* line numbers */
277+
pre.code .ln { color: grey; } /* line numbers */
279278
pre.code, code { background-color: #eeeeee }
280279
pre.code .comment, code .comment { color: #5C6576 }
281280
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +300,7 @@
301300
span.pre {
302301
white-space: pre }
303302

304-
span.problematic, pre.problematic {
303+
span.problematic {
305304
color: red }
306305

307306
span.section-subtitle {
@@ -369,9 +368,9 @@ <h1 class="title">Delivery Carrier Manual Weight</h1>
369368
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370369
!! source digest: sha256:ebda64e7d4f91aed1f58e703f1305f3fca450004a002b7c0008b4b027aa4ab83
371370
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/delivery-carrier/tree/16.0/delivery_carrier_manual_weight"><img alt="OCA/delivery-carrier" src="https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-delivery_carrier_manual_weight"><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/delivery-carrier&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 adds a flag in Shipping Methods to allow to set manually the weight
374-
and shipping weight in each transfer.</p>
371+
<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/delivery-carrier/tree/17.0/delivery_carrier_manual_weight"><img alt="OCA/delivery-carrier" src="https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/delivery-carrier-17-0/delivery-carrier-17-0-delivery_carrier_manual_weight"><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/delivery-carrier&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p>This module adds a flag in Shipping Methods to allow to set manually the
373+
weight and shipping weight in each transfer.</p>
375374
<p><strong>Table of contents</strong></p>
376375
<div class="contents local topic" id="contents">
377376
<ul class="simple">
@@ -387,15 +386,16 @@ <h1 class="title">Delivery Carrier Manual Weight</h1>
387386
</div>
388387
<div class="section" id="usage">
389388
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
390-
<p>In stock transfers, when using a ‘Manual Weights’ carrier, two new fields will
391-
be available to fill manually the weight and the shipping weight.</p>
389+
<p>In stock transfers, when using a ‘Manual Weights’ carrier, two new
390+
fields will be available to fill manually the weight and the shipping
391+
weight.</p>
392392
</div>
393393
<div class="section" id="bug-tracker">
394394
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
395395
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/delivery-carrier/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/delivery-carrier/issues/new?body=module:%20delivery_carrier_manual_weight%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/delivery-carrier/issues/new?body=module:%20delivery_carrier_manual_weight%0Aversion:%2017.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">
@@ -416,13 +416,11 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
416416
<div class="section" id="maintainers">
417417
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
418418
<p>This module is maintained by the OCA.</p>
419-
<a class="reference external image-reference" href="https://odoo-community.org">
420-
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
421-
</a>
419+
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
422420
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
423421
mission is to support the collaborative development of Odoo features and
424422
promote its widespread use.</p>
425-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/16.0/delivery_carrier_manual_weight">OCA/delivery-carrier</a> project on GitHub.</p>
423+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_manual_weight">OCA/delivery-carrier</a> project on GitHub.</p>
426424
<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>
427425
</div>
428426
</div>

0 commit comments

Comments
 (0)