odoo-addon-delivery-multi-destination 16.0.1.0.0.4__py3-none-any.whl → 16.0.1.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/delivery_multi_destination/README.rst +6 -2
- odoo/addons/delivery_multi_destination/__manifest__.py +1 -1
- odoo/addons/delivery_multi_destination/models/delivery_carrier.py +3 -2
- odoo/addons/delivery_multi_destination/static/description/index.html +26 -17
- {odoo_addon_delivery_multi_destination-16.0.1.0.0.4.dist-info → odoo_addon_delivery_multi_destination-16.0.1.0.1.dist-info}/METADATA +8 -4
- {odoo_addon_delivery_multi_destination-16.0.1.0.0.4.dist-info → odoo_addon_delivery_multi_destination-16.0.1.0.1.dist-info}/RECORD +8 -8
- {odoo_addon_delivery_multi_destination-16.0.1.0.0.4.dist-info → odoo_addon_delivery_multi_destination-16.0.1.0.1.dist-info}/WHEEL +1 -1
- {odoo_addon_delivery_multi_destination-16.0.1.0.0.4.dist-info → odoo_addon_delivery_multi_destination-16.0.1.0.1.dist-info}/top_level.txt +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
2
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
3
|
+
:alt: Odoo Community Association
|
|
4
|
+
|
|
1
5
|
==================================================
|
|
2
6
|
Multiple destinations for the same delivery method
|
|
3
7
|
==================================================
|
|
@@ -7,13 +11,13 @@ Multiple destinations for the same delivery method
|
|
|
7
11
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
12
|
!! changes will be overwritten. !!
|
|
9
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
14
|
+
!! source digest: sha256:65f3fca5db6ace0fcb048cbd2b4bfd33a5753a2ec9f6cd5d8a1e8a92284f7ce8
|
|
11
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
16
|
|
|
13
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
14
18
|
:target: https://odoo-community.org/page/development-status
|
|
15
19
|
:alt: Beta
|
|
16
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
20
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
17
21
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
18
22
|
:alt: License: AGPL-3
|
|
19
23
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
{
|
|
8
8
|
"name": "Multiple destinations for the same delivery method",
|
|
9
|
-
"version": "16.0.1.0.
|
|
9
|
+
"version": "16.0.1.0.1",
|
|
10
10
|
"category": "Delivery",
|
|
11
11
|
"website": "https://github.com/OCA/delivery-carrier",
|
|
12
12
|
"author": "Tecnativa, Odoo Community Association (OCA)",
|
|
@@ -49,8 +49,9 @@ class DeliveryCarrier(models.Model):
|
|
|
49
49
|
@api.model
|
|
50
50
|
def name_search(self, name="", args=None, operator="ilike", limit=100):
|
|
51
51
|
"""Don't show by default children carriers."""
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
args = args or []
|
|
53
|
+
args += [("parent_id", "=", False)]
|
|
54
|
+
return super().name_search(name=name, args=args, operator=operator, limit=limit)
|
|
54
55
|
|
|
55
56
|
def available_carriers(self, partner):
|
|
56
57
|
"""If the carrier is multi, we test the availability on children."""
|
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
5
5
|
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
|
6
|
-
<title>
|
|
6
|
+
<title>README.rst</title>
|
|
7
7
|
<style type="text/css">
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
:Author: David Goodger (goodger@python.org)
|
|
11
|
-
:Id: $Id: html4css1.css
|
|
11
|
+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
|
12
12
|
:Copyright: This stylesheet has been placed in the public domain.
|
|
13
13
|
|
|
14
14
|
Default cascading style sheet for the HTML output of Docutils.
|
|
15
|
+
Despite the name, some widely supported CSS2 features are used.
|
|
15
16
|
|
|
16
17
|
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
|
17
18
|
customize this style sheet.
|
|
@@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|
|
274
275
|
margin-left: 2em ;
|
|
275
276
|
margin-right: 2em }
|
|
276
277
|
|
|
277
|
-
pre.code .ln { color:
|
|
278
|
+
pre.code .ln { color: gray; } /* line numbers */
|
|
278
279
|
pre.code, code { background-color: #eeeeee }
|
|
279
280
|
pre.code .comment, code .comment { color: #5C6576 }
|
|
280
281
|
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
|
@@ -300,7 +301,7 @@ span.option {
|
|
|
300
301
|
span.pre {
|
|
301
302
|
white-space: pre }
|
|
302
303
|
|
|
303
|
-
span.problematic {
|
|
304
|
+
span.problematic, pre.problematic {
|
|
304
305
|
color: red }
|
|
305
306
|
|
|
306
307
|
span.section-subtitle {
|
|
@@ -359,16 +360,21 @@ ul.auto-toc {
|
|
|
359
360
|
</style>
|
|
360
361
|
</head>
|
|
361
362
|
<body>
|
|
362
|
-
<div class="document"
|
|
363
|
-
<h1 class="title">Multiple destinations for the same delivery method</h1>
|
|
363
|
+
<div class="document">
|
|
364
364
|
|
|
365
|
+
|
|
366
|
+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
|
|
367
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
|
|
368
|
+
</a>
|
|
369
|
+
<div class="section" id="multiple-destinations-for-the-same-delivery-method">
|
|
370
|
+
<h1>Multiple destinations for the same delivery method</h1>
|
|
365
371
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
366
372
|
!! This file is generated by oca-gen-addon-readme !!
|
|
367
373
|
!! changes will be overwritten. !!
|
|
368
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
369
|
-
!! source digest: sha256:
|
|
375
|
+
!! source digest: sha256:65f3fca5db6ace0fcb048cbd2b4bfd33a5753a2ec9f6cd5d8a1e8a92284f7ce8
|
|
370
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
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/
|
|
377
|
+
<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/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/delivery-carrier/tree/16.0/delivery_multi_destination"><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_multi_destination"><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&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
372
378
|
<p>This module allows to set different price rules depending on the destination.</p>
|
|
373
379
|
<p>This module restores the concept of delivery grid, reusing the same model for
|
|
374
380
|
nesting several “children” delivery methods, one per possible destination.
|
|
@@ -390,7 +396,7 @@ without the need to create a glue module for having multiple destinations.</p>
|
|
|
390
396
|
</ul>
|
|
391
397
|
</div>
|
|
392
398
|
<div class="section" id="configuration">
|
|
393
|
-
<
|
|
399
|
+
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
|
|
394
400
|
<p>To configure delivery methods with multiple destinations:</p>
|
|
395
401
|
<ol class="arabic simple">
|
|
396
402
|
<li>Go to Inventory > Configuration > Delivery > Shipping Methods</li>
|
|
@@ -402,21 +408,21 @@ destinations.</li>
|
|
|
402
408
|
</ol>
|
|
403
409
|
</div>
|
|
404
410
|
<div class="section" id="usage">
|
|
405
|
-
<
|
|
411
|
+
<h2><a class="toc-backref" href="#toc-entry-2">Usage</a></h2>
|
|
406
412
|
<ol class="arabic simple">
|
|
407
413
|
<li>When using the delivery method in a Sales order, delivery address will be
|
|
408
414
|
used for computing the delivery price according introduced destinations.</li>
|
|
409
415
|
</ol>
|
|
410
416
|
</div>
|
|
411
417
|
<div class="section" id="known-issues-roadmap">
|
|
412
|
-
<
|
|
418
|
+
<h2><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h2>
|
|
413
419
|
<ul class="simple">
|
|
414
420
|
<li>Delivery prices for e-commerce (<cite>website_sale_delivery</cite> module) might need
|
|
415
421
|
an extra module for handling everything properly.</li>
|
|
416
422
|
</ul>
|
|
417
423
|
</div>
|
|
418
424
|
<div class="section" id="bug-tracker">
|
|
419
|
-
<
|
|
425
|
+
<h2><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h2>
|
|
420
426
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/delivery-carrier/issues">GitHub Issues</a>.
|
|
421
427
|
In case of trouble, please check there if your issue has already been reported.
|
|
422
428
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
@@ -424,15 +430,15 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
424
430
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
425
431
|
</div>
|
|
426
432
|
<div class="section" id="credits">
|
|
427
|
-
<
|
|
433
|
+
<h2><a class="toc-backref" href="#toc-entry-5">Credits</a></h2>
|
|
428
434
|
<div class="section" id="authors">
|
|
429
|
-
<
|
|
435
|
+
<h3><a class="toc-backref" href="#toc-entry-6">Authors</a></h3>
|
|
430
436
|
<ul class="simple">
|
|
431
437
|
<li>Tecnativa</li>
|
|
432
438
|
</ul>
|
|
433
439
|
</div>
|
|
434
440
|
<div class="section" id="contributors">
|
|
435
|
-
<
|
|
441
|
+
<h3><a class="toc-backref" href="#toc-entry-7">Contributors</a></h3>
|
|
436
442
|
<ul class="simple">
|
|
437
443
|
<li><cite>Tecnativa <https://www.tecnativa.com>__</cite>:<ul>
|
|
438
444
|
<li>Pedro M. Baeza</li>
|
|
@@ -448,9 +454,11 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
448
454
|
</ul>
|
|
449
455
|
</div>
|
|
450
456
|
<div class="section" id="maintainers">
|
|
451
|
-
<
|
|
457
|
+
<h3><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h3>
|
|
452
458
|
<p>This module is maintained by the OCA.</p>
|
|
453
|
-
<a class="reference external image-reference" href="https://odoo-community.org"
|
|
459
|
+
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
460
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
461
|
+
</a>
|
|
454
462
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
455
463
|
mission is to support the collaborative development of Odoo features and
|
|
456
464
|
promote its widespread use.</p>
|
|
@@ -459,5 +467,6 @@ promote its widespread use.</p>
|
|
|
459
467
|
</div>
|
|
460
468
|
</div>
|
|
461
469
|
</div>
|
|
470
|
+
</div>
|
|
462
471
|
</body>
|
|
463
472
|
</html>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-delivery_multi_destination
|
|
3
|
-
Version: 16.0.1.0.
|
|
3
|
+
Version: 16.0.1.0.1
|
|
4
4
|
Summary: Multiple destinations for the same delivery method
|
|
5
5
|
Home-page: https://github.com/OCA/delivery-carrier
|
|
6
6
|
Author: Tecnativa, Odoo Community Association (OCA)
|
|
@@ -11,7 +11,11 @@ Classifier: Framework :: Odoo
|
|
|
11
11
|
Classifier: Framework :: Odoo :: 16.0
|
|
12
12
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
13
13
|
Requires-Python: >=3.10
|
|
14
|
-
Requires-Dist: odoo
|
|
14
|
+
Requires-Dist: odoo<16.1dev,>=16.0a
|
|
15
|
+
|
|
16
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
17
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
18
|
+
:alt: Odoo Community Association
|
|
15
19
|
|
|
16
20
|
==================================================
|
|
17
21
|
Multiple destinations for the same delivery method
|
|
@@ -22,13 +26,13 @@ Multiple destinations for the same delivery method
|
|
|
22
26
|
!! This file is generated by oca-gen-addon-readme !!
|
|
23
27
|
!! changes will be overwritten. !!
|
|
24
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
25
|
-
!! source digest: sha256:
|
|
29
|
+
!! source digest: sha256:65f3fca5db6ace0fcb048cbd2b4bfd33a5753a2ec9f6cd5d8a1e8a92284f7ce8
|
|
26
30
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
27
31
|
|
|
28
32
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
29
33
|
:target: https://odoo-community.org/page/development-status
|
|
30
34
|
:alt: Beta
|
|
31
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
35
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
32
36
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
33
37
|
:alt: License: AGPL-3
|
|
34
38
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
odoo/addons/delivery_multi_destination/README.rst,sha256=
|
|
1
|
+
odoo/addons/delivery_multi_destination/README.rst,sha256=sMlwqkiBtJw4lVcORKR_3j6W2ruYr9yQVnRaS8yrteg,4418
|
|
2
2
|
odoo/addons/delivery_multi_destination/__init__.py,sha256=eShEGRadAlxopoLqIQ4-N42FM7MWPSuBe0h_l1cXTPM,87
|
|
3
|
-
odoo/addons/delivery_multi_destination/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/delivery_multi_destination/__manifest__.py,sha256=tYybI9qPY1iV-wrh1dMvD93mmPNHQUfeQRGWcjQEuzI,694
|
|
4
4
|
odoo/addons/delivery_multi_destination/demo/delivery_carrier_demo.xml,sha256=8B4KyxiIkHNsfKVjP5GmInxWHacxOpv4UnhUSI1rg18,3753
|
|
5
5
|
odoo/addons/delivery_multi_destination/i18n/cs_CZ.po,sha256=Gy90AL5-iA9bSzCVk_x83-uC14HTtNy-6cet7lVxOJc,5186
|
|
6
6
|
odoo/addons/delivery_multi_destination/i18n/de.po,sha256=YMzrA3CrCYt5WpmDOWnWwHWlLdHTGnBPSPjh8yOlvUA,5059
|
|
@@ -14,18 +14,18 @@ odoo/addons/delivery_multi_destination/i18n/pt_BR.po,sha256=dT7k4N1HoMzK8izV-fe6
|
|
|
14
14
|
odoo/addons/delivery_multi_destination/i18n/sl.po,sha256=_3ENaKvSpzNj9YgTcewlKXj3AI9e6Hhc2_iGU6lZO9A,5006
|
|
15
15
|
odoo/addons/delivery_multi_destination/i18n/zh_CN.po,sha256=H-BZaqv1GF2iSJJ-TIhB2dLKGztd3w05XJwvPNSRYpI,5042
|
|
16
16
|
odoo/addons/delivery_multi_destination/models/__init__.py,sha256=-K4wh1XVA03SZzTTycr_kcgawLtJanP54sq4kwHL5eA,97
|
|
17
|
-
odoo/addons/delivery_multi_destination/models/delivery_carrier.py,sha256=
|
|
17
|
+
odoo/addons/delivery_multi_destination/models/delivery_carrier.py,sha256=qqzYBc9UdP6gJOK7VS558tU_B1IPQOWVbZnT5jyOsnk,5152
|
|
18
18
|
odoo/addons/delivery_multi_destination/readme/CONFIGURE.rst,sha256=7ODOGLMD-pk4sqqbXT2EEvsJ-rafrnQz4Xwe3WeD9Xk,386
|
|
19
19
|
odoo/addons/delivery_multi_destination/readme/CONTRIBUTORS.rst,sha256=qYFJW8WItTLugT9t5wMcw4A9AVUrCAI5UPrKlwaNJnc,209
|
|
20
20
|
odoo/addons/delivery_multi_destination/readme/DESCRIPTION.rst,sha256=zGE7V1m8-nd6FcVva5rSgmnD1i8gOQoIP_4aMeHKEGE,383
|
|
21
21
|
odoo/addons/delivery_multi_destination/readme/ROADMAP.rst,sha256=mFUYDdJtYvVAOcxbnU3uIEAb5pCfyvKC-FoOFbx_9ko,129
|
|
22
22
|
odoo/addons/delivery_multi_destination/readme/USAGE.rst,sha256=1L4dwqAZ4L8oNQMO90fp64D4_IVf1AEpBGpun6HNFDo,153
|
|
23
23
|
odoo/addons/delivery_multi_destination/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
24
|
-
odoo/addons/delivery_multi_destination/static/description/index.html,sha256=
|
|
24
|
+
odoo/addons/delivery_multi_destination/static/description/index.html,sha256=Qs23K8Y5fa4jeemDTH5IJjFDcHSqZNwxbWvkdigOzuE,14477
|
|
25
25
|
odoo/addons/delivery_multi_destination/tests/__init__.py,sha256=84QCPauC2-TkXZsq1euuy3oNLYJpiocgsAVkUqpUsLI,112
|
|
26
26
|
odoo/addons/delivery_multi_destination/tests/test_delivery_multi_destination.py,sha256=kMvXo_By6mpnymJuqFowUR9jEK5AD-env4MYD08fnWw,7428
|
|
27
27
|
odoo/addons/delivery_multi_destination/views/delivery_carrier_view.xml,sha256=EpJXlKQraYrvdjNnXEf28hWladF3ak0vbCyAnpQHPq4,4234
|
|
28
|
-
odoo_addon_delivery_multi_destination-16.0.1.0.
|
|
29
|
-
odoo_addon_delivery_multi_destination-16.0.1.0.
|
|
30
|
-
odoo_addon_delivery_multi_destination-16.0.1.0.
|
|
31
|
-
odoo_addon_delivery_multi_destination-16.0.1.0.
|
|
28
|
+
odoo_addon_delivery_multi_destination-16.0.1.0.1.dist-info/METADATA,sha256=qG7W7UWNKjZGV7UMMUy0s1uZB0McyKy0m4_q7-KnRa8,4972
|
|
29
|
+
odoo_addon_delivery_multi_destination-16.0.1.0.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
30
|
+
odoo_addon_delivery_multi_destination-16.0.1.0.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
|
31
|
+
odoo_addon_delivery_multi_destination-16.0.1.0.1.dist-info/RECORD,,
|