Skip to content

Commit a5c8296

Browse files
committed
[IMP] delivery_carrier_multi_zip: pre-commit auto fixes
1 parent d48e308 commit a5c8296

12 files changed

+63
-57
lines changed

delivery_carrier_multi_zip/README.rst

+23-22
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ Multiple ZIP intervals for the same delivery method
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/15.0/delivery_carrier_multi_zip
20+
:target: https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_multi_zip
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-15-0/delivery-carrier-15-0-delivery_carrier_multi_zip
23+
:target: https://translation.odoo-community.org/projects/delivery-carrier-17-0/delivery-carrier-17-0-delivery_carrier_multi_zip
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=15.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 allows to set more than one interval of zip codes for matching each
32-
shipping method.
31+
This module allows to set more than one interval of zip codes for
32+
matching each shipping method.
3333

3434
**Table of contents**
3535

@@ -39,55 +39,56 @@ shipping method.
3939
Installation
4040
============
4141

42-
This module generates the initial ZIP interval entry from existing "ZIP from"
43-
and "ZIP to", filling one of the two interval parts with wildcard strings.
42+
This module generates the initial ZIP interval entry from existing "ZIP
43+
from" and "ZIP to", filling one of the two interval parts with wildcard
44+
strings.
4445

4546
Configuration
4647
=============
4748

4849
To configure delivery methods with multiple ZIPs:
4950

50-
#. Go to Inventory > Configuration > Delivery > Shipping Methods
51-
#. Create or edit an existing record.
52-
#. Introduce a line for each interval of zip codes.
51+
1. Go to Inventory > Configuration > Delivery > Shipping Methods
52+
2. Create or edit an existing record.
53+
3. Introduce a line for each interval of zip codes.
5354

5455
Known issues / Roadmap
5556
======================
5657

57-
- There's some code for proxying the standard values to the new intervals, for
58-
covering cases like automatisms or other modules that touch such fields, but
59-
there are still non covered cases like multiple consecutive writings creating
60-
weird ZIP interval tables.
58+
- There's some code for proxying the standard values to the new
59+
intervals, for covering cases like automatisms or other modules that
60+
touch such fields, but there are still non covered cases like
61+
multiple consecutive writings creating weird ZIP interval tables.
6162

6263
Bug Tracker
6364
===========
6465

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

7071
Do not contact contributors directly about support or help with technical issues.
7172

7273
Credits
7374
=======
7475

7576
Authors
76-
~~~~~~~
77+
-------
7778

7879
* Tecnativa
7980

8081
Contributors
81-
~~~~~~~~~~~~
82+
------------
8283

83-
* `Tecnativa <https://www.tecnativa.com>__`:
84+
- \`Tecnativa <https://www.tecnativa.com>\_\_\`:
8485

85-
* Pedro M. Baeza
86+
- Pedro M. Baeza
8687

87-
* Philipp Zimmer
88+
- Philipp Zimmer
8889

8990
Maintainers
90-
~~~~~~~~~~~
91+
-----------
9192

9293
This module is maintained by the OCA.
9394

@@ -99,6 +100,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
99100
mission is to support the collaborative development of Odoo features and
100101
promote its widespread use.
101102

102-
This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/15.0/delivery_carrier_multi_zip>`_ project on GitHub.
103+
This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_multi_zip>`_ project on GitHub.
103104

104105
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,5 @@
1+
To configure delivery methods with multiple ZIPs:
2+
3+
1. Go to Inventory \> Configuration \> Delivery \> Shipping Methods
4+
2. Create or edit an existing record.
5+
3. Introduce a line for each interval of zip codes.

delivery_carrier_multi_zip/readme/CONFIGURE.rst

-5
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- \`Tecnativa \<<https://www.tecnativa.com>\>\_\_\`:
2+
- Pedro M. Baeza
3+
- Philipp Zimmer

delivery_carrier_multi_zip/readme/CONTRIBUTORS.rst

-5
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
This module allows to set more than one interval of zip codes for matching each
2-
shipping method.
1+
This module allows to set more than one interval of zip codes for
2+
matching each shipping method.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This module generates the initial ZIP interval entry from existing "ZIP
2+
from" and "ZIP to", filling one of the two interval parts with wildcard
3+
strings.

delivery_carrier_multi_zip/readme/INSTALL.rst

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- There's some code for proxying the standard values to the new
2+
intervals, for covering cases like automatisms or other modules that
3+
touch such fields, but there are still non covered cases like multiple
4+
consecutive writings creating weird ZIP interval tables.

delivery_carrier_multi_zip/readme/ROADMAP.rst

-4
This file was deleted.

delivery_carrier_multi_zip/static/description/index.html

+20-17
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 (goodger@python.org)
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,9 @@ <h1 class="title">Multiple ZIP intervals for the same delivery method</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:0435aacd8389b6a61ca2df68e61ae3bb8d8b89c1dba4b3bbb322b2650f7e2999
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/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/15.0/delivery_carrier_multi_zip"><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-15-0/delivery-carrier-15-0-delivery_carrier_multi_zip"><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=15.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 to set more than one interval of zip codes for matching each
374-
shipping method.</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/delivery-carrier/tree/17.0/delivery_carrier_multi_zip"><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_multi_zip"><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>
373+
<p>This module allows to set more than one interval of zip codes for
374+
matching each shipping method.</p>
375375
<p><strong>Table of contents</strong></p>
376376
<div class="contents local topic" id="contents">
377377
<ul class="simple">
@@ -389,8 +389,9 @@ <h1 class="title">Multiple ZIP intervals for the same delivery method</h1>
389389
</div>
390390
<div class="section" id="installation">
391391
<h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
392-
<p>This module generates the initial ZIP interval entry from existing “ZIP from”
393-
and “ZIP to”, filling one of the two interval parts with wildcard strings.</p>
392+
<p>This module generates the initial ZIP interval entry from existing “ZIP
393+
from” and “ZIP to”, filling one of the two interval parts with wildcard
394+
strings.</p>
394395
</div>
395396
<div class="section" id="configuration">
396397
<h1><a class="toc-backref" href="#toc-entry-2">Configuration</a></h1>
@@ -404,18 +405,18 @@ <h1><a class="toc-backref" href="#toc-entry-2">Configuration</a></h1>
404405
<div class="section" id="known-issues-roadmap">
405406
<h1><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h1>
406407
<ul class="simple">
407-
<li>There’s some code for proxying the standard values to the new intervals, for
408-
covering cases like automatisms or other modules that touch such fields, but
409-
there are still non covered cases like multiple consecutive writings creating
410-
weird ZIP interval tables.</li>
408+
<li>There’s some code for proxying the standard values to the new
409+
intervals, for covering cases like automatisms or other modules that
410+
touch such fields, but there are still non covered cases like
411+
multiple consecutive writings creating weird ZIP interval tables.</li>
411412
</ul>
412413
</div>
413414
<div class="section" id="bug-tracker">
414415
<h1><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h1>
415416
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/delivery-carrier/issues">GitHub Issues</a>.
416417
In case of trouble, please check there if your issue has already been reported.
417418
If you spotted it first, help us to smash it by providing a detailed and welcomed
418-
<a class="reference external" href="https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_carrier_multi_zip%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
419+
<a class="reference external" href="https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_carrier_multi_zip%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
419420
<p>Do not contact contributors directly about support or help with technical issues.</p>
420421
</div>
421422
<div class="section" id="credits">
@@ -429,7 +430,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Authors</a></h2>
429430
<div class="section" id="contributors">
430431
<h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
431432
<ul class="simple">
432-
<li><cite>Tecnativa &lt;https://www.tecnativa.com&gt;__</cite>:<ul>
433+
<li>`Tecnativa &lt;<a class="reference external" href="https://www.tecnativa.com">https://www.tecnativa.com</a>&gt;__`:<ul>
433434
<li>Pedro M. Baeza</li>
434435
</ul>
435436
</li>
@@ -439,11 +440,13 @@ <h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
439440
<div class="section" id="maintainers">
440441
<h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
441442
<p>This module is maintained by the OCA.</p>
442-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
443+
<a class="reference external image-reference" href="https://odoo-community.org">
444+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
445+
</a>
443446
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
444447
mission is to support the collaborative development of Odoo features and
445448
promote its widespread use.</p>
446-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/15.0/delivery_carrier_multi_zip">OCA/delivery-carrier</a> project on GitHub.</p>
449+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_multi_zip">OCA/delivery-carrier</a> project on GitHub.</p>
447450
<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>
448451
</div>
449452
</div>

0 commit comments

Comments
 (0)