Skip to content

Commit 8d8992b

Browse files
[IMP] partner_delivery_zone: pre-commit auto fixes
1 parent 53f435b commit 8d8992b

14 files changed

+83
-80
lines changed

partner_delivery_zone/README.rst

+34-33
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ Partner Delivery Zone
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/partner_delivery_zone
20+
:target: https://github.com/OCA/delivery-carrier/tree/17.0/partner_delivery_zone
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-partner_delivery_zone
23+
:target: https://translation.odoo-community.org/projects/delivery-carrier-17-0/delivery-carrier-17-0-partner_delivery_zone
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 allows to allocate delivery zones to customers. Information is
32-
shown on sale orders and stock pickings.
33-
It also allows to group and search by delivery zone in partners, sale orders
34-
and stock pickings views.
31+
This module allows to allocate delivery zones to customers. Information
32+
is shown on sale orders and stock pickings. It also allows to group and
33+
search by delivery zone in partners, sale orders and stock pickings
34+
views.
3535

3636
**Table of contents**
3737

@@ -43,66 +43,67 @@ Configuration
4343

4444
To configure this module, you need to:
4545

46-
#. Go to **Contacts > Configuration > Delivery Zones** and create the required
47-
codes.
46+
1. Go to **Contacts > Configuration > Delivery Zones** and create the
47+
required codes.
4848

4949
Usage
5050
=====
5151

5252
To use this module you need to:
5353

54-
#. Go to Sales > Orders > Customers.
55-
#. Choose a customer.
56-
#. Click on 'Edit' button.
57-
#. Go to Sales & Purchase tab.
58-
#. In 'Delivery Zone' field select an option for this partner.
59-
#. Click on 'Save' button to apply changes.
60-
#. Go to Sales > Orders > Quotations.
61-
#. Create a quotation. 'Delivery zone' field is automatically filled. Confirm
62-
quotation.
63-
#. Open picking or 'Delivery' info (top right). In 'Additional Info' tab you
64-
can see a 'Delivery Zone' choice has been added.
54+
1. Go to Sales > Orders > Customers.
55+
2. Choose a customer.
56+
3. Click on 'Edit' button.
57+
4. Go to Sales & Purchase tab.
58+
5. In 'Delivery Zone' field select an option for this partner.
59+
6. Click on 'Save' button to apply changes.
60+
7. Go to Sales > Orders > Quotations.
61+
8. Create a quotation. 'Delivery zone' field is automatically filled.
62+
Confirm quotation.
63+
9. Open picking or 'Delivery' info (top right). In 'Additional Info' tab
64+
you can see a 'Delivery Zone' choice has been added.
6565

6666
Known issues / Roadmap
6767
======================
6868

69-
* In future versions, the system will be capable of setting delivery zones based on partner's zip or postal codes.
69+
- In future versions, the system will be capable of setting delivery
70+
zones based on partner's zip or postal codes.
7071

7172
Bug Tracker
7273
===========
7374

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

7980
Do not contact contributors directly about support or help with technical issues.
8081

8182
Credits
8283
=======
8384

8485
Authors
85-
~~~~~~~
86+
-------
8687

8788
* Tecnativa
8889
* Pesol
8990

9091
Contributors
91-
~~~~~~~~~~~~
92+
------------
9293

93-
* `Tecnativa <https://www.tecnativa.com>`_
94+
- `Tecnativa <https://www.tecnativa.com>`__
9495

95-
* Sergio Teruel
96-
* César A. Sánchez
97-
* Luis Daniel Lafaurie
96+
- Sergio Teruel
97+
- César A. Sánchez
98+
- Luis Daniel Lafaurie
9899

99-
* `Pesol <https://www.pesol.es>`_
100+
- `Pesol <https://www.pesol.es>`__
100101

101-
* Angel Moya Pardo <angel.moya@pesol.es>
102-
* Antonio J Rubio Lorente <antonio.rubio@pesol.es>
102+
- Angel Moya Pardo <angel.moya@pesol.es>
103+
- Antonio J Rubio Lorente <antonio.rubio@pesol.es>
103104

104105
Maintainers
105-
~~~~~~~~~~~
106+
-----------
106107

107108
This module is maintained by the OCA.
108109

@@ -114,6 +115,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
114115
mission is to support the collaborative development of Odoo features and
115116
promote its widespread use.
116117

117-
This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/16.0/partner_delivery_zone>`_ project on GitHub.
118+
This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/17.0/partner_delivery_zone>`_ project on GitHub.
118119

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

partner_delivery_zone/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
33
{
44
"name": "Partner Delivery Zone",
5-
"summary": "This module allows to create partner delivery zones for physical products",
5+
"summary": "Enables partner delivery zones for physical products",
66
"version": "16.0.1.3.0",
77
"development_status": "Beta",
88
"category": "Delivery",

partner_delivery_zone/pyproject.toml

+3
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,4 @@
1+
To configure this module, you need to:
2+
3+
1. Go to **Contacts \> Configuration \> Delivery Zones** and create the
4+
required codes.

partner_delivery_zone/readme/CONFIGURE.rst

-4
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- [Tecnativa](https://www.tecnativa.com)
2+
- Sergio Teruel
3+
- César A. Sánchez
4+
- Luis Daniel Lafaurie
5+
- [Pesol](https://www.pesol.es)
6+
- Angel Moya Pardo \<<angel.moya@pesol.es>\>
7+
- Antonio J Rubio Lorente \<<antonio.rubio@pesol.es>\>

partner_delivery_zone/readme/CONTRIBUTORS.rst

-10
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This module allows to allocate delivery zones to customers. Information
2+
is shown on sale orders and stock pickings. It also allows to group and
3+
search by delivery zone in partners, sale orders and stock pickings
4+
views.

partner_delivery_zone/readme/DESCRIPTION.rst

-4
This file was deleted.
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- In future versions, the system will be capable of setting delivery
2+
zones based on partner's zip or postal codes.

partner_delivery_zone/readme/ROADMAP.rst

-1
This file was deleted.

partner_delivery_zone/readme/USAGE.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
To use this module you need to:
2+
3+
1. Go to Sales \> Orders \> Customers.
4+
2. Choose a customer.
5+
3. Click on 'Edit' button.
6+
4. Go to Sales & Purchase tab.
7+
5. In 'Delivery Zone' field select an option for this partner.
8+
6. Click on 'Save' button to apply changes.
9+
7. Go to Sales \> Orders \> Quotations.
10+
8. Create a quotation. 'Delivery zone' field is automatically filled.
11+
Confirm quotation.
12+
9. Open picking or 'Delivery' info (top right). In 'Additional Info'
13+
tab you can see a 'Delivery Zone' choice has been added.

partner_delivery_zone/readme/USAGE.rst

-13
This file was deleted.

partner_delivery_zone/static/description/index.html

+15-14
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,11 @@ <h1 class="title">Partner Delivery Zone</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:d11ebabf8d20f7a341daee3cb217c295aa865c9f8cced1e4f51573665f9ab094
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/16.0/partner_delivery_zone"><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-partner_delivery_zone"><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 allows to allocate delivery zones to customers. Information is
374-
shown on sale orders and stock pickings.
375-
It also allows to group and search by delivery zone in partners, sale orders
376-
and stock pickings views.</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/partner_delivery_zone"><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-partner_delivery_zone"><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 allocate delivery zones to customers. Information
374+
is shown on sale orders and stock pickings. It also allows to group and
375+
search by delivery zone in partners, sale orders and stock pickings
376+
views.</p>
377377
<p><strong>Table of contents</strong></p>
378378
<div class="contents local topic" id="contents">
379379
<ul class="simple">
@@ -393,8 +393,8 @@ <h1 class="title">Partner Delivery Zone</h1>
393393
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
394394
<p>To configure this module, you need to:</p>
395395
<ol class="arabic simple">
396-
<li>Go to <strong>Contacts &gt; Configuration &gt; Delivery Zones</strong> and create the required
397-
codes.</li>
396+
<li>Go to <strong>Contacts &gt; Configuration &gt; Delivery Zones</strong> and create the
397+
required codes.</li>
398398
</ol>
399399
</div>
400400
<div class="section" id="usage">
@@ -408,24 +408,25 @@ <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
408408
<li>In ‘Delivery Zone’ field select an option for this partner.</li>
409409
<li>Click on ‘Save’ button to apply changes.</li>
410410
<li>Go to Sales &gt; Orders &gt; Quotations.</li>
411-
<li>Create a quotation. ‘Delivery zone’ field is automatically filled. Confirm
412-
quotation.</li>
413-
<li>Open picking or ‘Delivery’ info (top right). In ‘Additional Info’ tab you
414-
can see a ‘Delivery Zone’ choice has been added.</li>
411+
<li>Create a quotation. ‘Delivery zone’ field is automatically filled.
412+
Confirm quotation.</li>
413+
<li>Open picking or ‘Delivery’ info (top right). In ‘Additional Info’ tab
414+
you can see a ‘Delivery Zone’ choice has been added.</li>
415415
</ol>
416416
</div>
417417
<div class="section" id="known-issues-roadmap">
418418
<h1><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h1>
419419
<ul class="simple">
420-
<li>In future versions, the system will be capable of setting delivery zones based on partner’s zip or postal codes.</li>
420+
<li>In future versions, the system will be capable of setting delivery
421+
zones based on partner’s zip or postal codes.</li>
421422
</ul>
422423
</div>
423424
<div class="section" id="bug-tracker">
424425
<h1><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h1>
425426
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/delivery-carrier/issues">GitHub Issues</a>.
426427
In case of trouble, please check there if your issue has already been reported.
427428
If you spotted it first, help us to smash it by providing a detailed and welcomed
428-
<a class="reference external" href="https://github.com/OCA/delivery-carrier/issues/new?body=module:%20partner_delivery_zone%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
429+
<a class="reference external" href="https://github.com/OCA/delivery-carrier/issues/new?body=module:%20partner_delivery_zone%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
429430
<p>Do not contact contributors directly about support or help with technical issues.</p>
430431
</div>
431432
<div class="section" id="credits">
@@ -462,7 +463,7 @@ <h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
462463
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
463464
mission is to support the collaborative development of Odoo features and
464465
promote its widespread use.</p>
465-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/16.0/partner_delivery_zone">OCA/delivery-carrier</a> project on GitHub.</p>
466+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/17.0/partner_delivery_zone">OCA/delivery-carrier</a> project on GitHub.</p>
466467
<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>
467468
</div>
468469
</div>

0 commit comments

Comments
 (0)