odoo-addon-delivery-multi-destination 17.0.1.0.0.3__py3-none-any.whl → 17.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 +5 -3
- odoo/addons/delivery_multi_destination/static/description/index.html +19 -13
- {odoo_addon_delivery_multi_destination-17.0.1.0.0.3.dist-info → odoo_addon_delivery_multi_destination-17.0.1.0.1.dist-info}/METADATA +8 -3
- {odoo_addon_delivery_multi_destination-17.0.1.0.0.3.dist-info → odoo_addon_delivery_multi_destination-17.0.1.0.1.dist-info}/RECORD +8 -8
- {odoo_addon_delivery_multi_destination-17.0.1.0.0.3.dist-info → odoo_addon_delivery_multi_destination-17.0.1.0.1.dist-info}/WHEEL +1 -1
- {odoo_addon_delivery_multi_destination-17.0.1.0.0.3.dist-info → odoo_addon_delivery_multi_destination-17.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:1566bfc023078f1ac6800b3650e27a306cdf780da7b2cc5d31aef37aeff2759e
|
|
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": "17.0.1.0.
|
|
9
|
+
"version": "17.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)",
|
|
@@ -33,20 +33,22 @@ class DeliveryCarrier(models.Model):
|
|
|
33
33
|
self.product_id = fields.first(self.child_ids.product_id)
|
|
34
34
|
|
|
35
35
|
@api.model
|
|
36
|
-
def
|
|
36
|
+
def search_fetch(self, domain, field_names, offset=0, limit=None, order=None):
|
|
37
37
|
"""Don't show by default children carriers."""
|
|
38
38
|
if not self.env.context.get("show_children_carriers"):
|
|
39
39
|
if domain is None:
|
|
40
40
|
domain = []
|
|
41
41
|
domain += [("parent_id", "=", False)]
|
|
42
|
-
return super().
|
|
42
|
+
return super().search_fetch(
|
|
43
|
+
domain, field_names, offset=offset, limit=limit, order=order
|
|
44
|
+
)
|
|
43
45
|
|
|
44
46
|
@api.model
|
|
45
47
|
def name_search(self, name="", args=None, operator="ilike", limit=100):
|
|
46
48
|
"""Don't show by default children carriers."""
|
|
47
49
|
args = args or []
|
|
48
50
|
args += [("parent_id", "=", False)]
|
|
49
|
-
return super().name_search(name, args, operator, limit)
|
|
51
|
+
return super().name_search(name=name, args=args, operator=operator, limit=limit)
|
|
50
52
|
|
|
51
53
|
def available_carriers(self, partner):
|
|
52
54
|
"""If the carrier is multi, we test the availability on children."""
|
|
@@ -3,7 +3,7 @@
|
|
|
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
|
/*
|
|
@@ -360,16 +360,21 @@ ul.auto-toc {
|
|
|
360
360
|
</style>
|
|
361
361
|
</head>
|
|
362
362
|
<body>
|
|
363
|
-
<div class="document"
|
|
364
|
-
<h1 class="title">Multiple destinations for the same delivery method</h1>
|
|
363
|
+
<div class="document">
|
|
365
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>
|
|
366
371
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
367
372
|
!! This file is generated by oca-gen-addon-readme !!
|
|
368
373
|
!! changes will be overwritten. !!
|
|
369
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
370
|
-
!! source digest: sha256:
|
|
375
|
+
!! source digest: sha256:1566bfc023078f1ac6800b3650e27a306cdf780da7b2cc5d31aef37aeff2759e
|
|
371
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
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/
|
|
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/17.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-17-0/delivery-carrier-17-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=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
373
378
|
<p>This module allows to set different price rules depending on the
|
|
374
379
|
destination.</p>
|
|
375
380
|
<p>This module restores the concept of delivery grid, reusing the same
|
|
@@ -393,7 +398,7 @@ multiple destinations.</p>
|
|
|
393
398
|
</ul>
|
|
394
399
|
</div>
|
|
395
400
|
<div class="section" id="configuration">
|
|
396
|
-
<
|
|
401
|
+
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
|
|
397
402
|
<p>To configure delivery methods with multiple destinations:</p>
|
|
398
403
|
<ol class="arabic simple">
|
|
399
404
|
<li>Go to Inventory > Configuration > Delivery > Shipping Methods</li>
|
|
@@ -405,7 +410,7 @@ restricted destinations.</li>
|
|
|
405
410
|
</ol>
|
|
406
411
|
</div>
|
|
407
412
|
<div class="section" id="usage">
|
|
408
|
-
<
|
|
413
|
+
<h2><a class="toc-backref" href="#toc-entry-2">Usage</a></h2>
|
|
409
414
|
<ol class="arabic simple">
|
|
410
415
|
<li>When using the delivery method in a Sales order, delivery address
|
|
411
416
|
will be used for computing the delivery price according introduced
|
|
@@ -413,14 +418,14 @@ destinations.</li>
|
|
|
413
418
|
</ol>
|
|
414
419
|
</div>
|
|
415
420
|
<div class="section" id="known-issues-roadmap">
|
|
416
|
-
<
|
|
421
|
+
<h2><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h2>
|
|
417
422
|
<ul class="simple">
|
|
418
423
|
<li>Delivery prices for e-commerce (website_sale_delivery module) might
|
|
419
424
|
need an extra module for handling everything properly.</li>
|
|
420
425
|
</ul>
|
|
421
426
|
</div>
|
|
422
427
|
<div class="section" id="bug-tracker">
|
|
423
|
-
<
|
|
428
|
+
<h2><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h2>
|
|
424
429
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/delivery-carrier/issues">GitHub Issues</a>.
|
|
425
430
|
In case of trouble, please check there if your issue has already been reported.
|
|
426
431
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
@@ -428,15 +433,15 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
428
433
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
429
434
|
</div>
|
|
430
435
|
<div class="section" id="credits">
|
|
431
|
-
<
|
|
436
|
+
<h2><a class="toc-backref" href="#toc-entry-5">Credits</a></h2>
|
|
432
437
|
<div class="section" id="authors">
|
|
433
|
-
<
|
|
438
|
+
<h3><a class="toc-backref" href="#toc-entry-6">Authors</a></h3>
|
|
434
439
|
<ul class="simple">
|
|
435
440
|
<li>Tecnativa</li>
|
|
436
441
|
</ul>
|
|
437
442
|
</div>
|
|
438
443
|
<div class="section" id="contributors">
|
|
439
|
-
<
|
|
444
|
+
<h3><a class="toc-backref" href="#toc-entry-7">Contributors</a></h3>
|
|
440
445
|
<ul class="simple">
|
|
441
446
|
<li>`Tecnativa <<a class="reference external" href="https://www.tecnativa.com">https://www.tecnativa.com</a>>__`:<ul>
|
|
442
447
|
<li>Pedro M. Baeza</li>
|
|
@@ -453,7 +458,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
453
458
|
</ul>
|
|
454
459
|
</div>
|
|
455
460
|
<div class="section" id="maintainers">
|
|
456
|
-
<
|
|
461
|
+
<h3><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h3>
|
|
457
462
|
<p>This module is maintained by the OCA.</p>
|
|
458
463
|
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
459
464
|
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
@@ -466,5 +471,6 @@ promote its widespread use.</p>
|
|
|
466
471
|
</div>
|
|
467
472
|
</div>
|
|
468
473
|
</div>
|
|
474
|
+
</div>
|
|
469
475
|
</body>
|
|
470
476
|
</html>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-delivery_multi_destination
|
|
3
|
-
Version: 17.0.1.0.
|
|
3
|
+
Version: 17.0.1.0.1
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
5
|
Requires-Dist: odoo>=17.0a,<17.1dev
|
|
6
6
|
Summary: Multiple destinations for the same delivery method
|
|
@@ -12,6 +12,11 @@ Classifier: Programming Language :: Python
|
|
|
12
12
|
Classifier: Framework :: Odoo
|
|
13
13
|
Classifier: Framework :: Odoo :: 17.0
|
|
14
14
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
|
+
Description-Content-Type: text/x-rst
|
|
16
|
+
|
|
17
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
18
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
19
|
+
:alt: Odoo Community Association
|
|
15
20
|
|
|
16
21
|
==================================================
|
|
17
22
|
Multiple destinations for the same delivery method
|
|
@@ -22,13 +27,13 @@ Multiple destinations for the same delivery method
|
|
|
22
27
|
!! This file is generated by oca-gen-addon-readme !!
|
|
23
28
|
!! changes will be overwritten. !!
|
|
24
29
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
25
|
-
!! source digest: sha256:
|
|
30
|
+
!! source digest: sha256:1566bfc023078f1ac6800b3650e27a306cdf780da7b2cc5d31aef37aeff2759e
|
|
26
31
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
27
32
|
|
|
28
33
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
29
34
|
:target: https://odoo-community.org/page/development-status
|
|
30
35
|
:alt: Beta
|
|
31
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
36
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
32
37
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
33
38
|
:alt: License: AGPL-3
|
|
34
39
|
.. |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=fJR_A4ALI3H7E-y5xRq4puDCAb8gfKo-FsAhk7TxHI8,4449
|
|
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=8kosLcue-1ZHsOq6f_AXO4wt7YRyKztS0oK4JbmAKEo,700
|
|
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=3VMaLX4HXb1Sin4vKeeC23RJ9xLp7qD26FDw7i5Yd0I,3810
|
|
6
6
|
odoo/addons/delivery_multi_destination/i18n/de.po,sha256=aVjg4EY88KB3DtR9P9s3oKkskXInRE3wbJVDO3FwInA,3597
|
|
@@ -14,18 +14,18 @@ odoo/addons/delivery_multi_destination/i18n/pt_BR.po,sha256=_DKgRCMTNjs8fxCWI8tI
|
|
|
14
14
|
odoo/addons/delivery_multi_destination/i18n/sl.po,sha256=rEoCMjGSRmR29BYhAl2Vq7p7rDsfmXP2t9THZ4HfDGg,3573
|
|
15
15
|
odoo/addons/delivery_multi_destination/i18n/zh_CN.po,sha256=a7fl1iWfKJ1dClNsJt7HfbQqk71Db2zCDvqy4Fo3DBw,3542
|
|
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=MJVaoqLJNPjXrNDLuLbFOnAvdxWFRSYQ3PK5D9qtQ08,5124
|
|
18
18
|
odoo/addons/delivery_multi_destination/readme/CONFIGURE.md,sha256=KdG3B0ELnJK-igujQG_ZuUcj2OT52tpuCTIbrHEOE14,395
|
|
19
19
|
odoo/addons/delivery_multi_destination/readme/CONTRIBUTORS.md,sha256=PKGiALM1DjXzhI-KypkDWka87i0nQ1R0ofUv1qWgIlI,244
|
|
20
20
|
odoo/addons/delivery_multi_destination/readme/DESCRIPTION.md,sha256=Xjkb6T0t6deHKlMHpT3dEIoN5X-QxG9X-8G2WgVmmbs,383
|
|
21
21
|
odoo/addons/delivery_multi_destination/readme/ROADMAP.md,sha256=PF6a__2tCIHeeCezhU5wCS-9Jn3CS3NXLJuj3XjyN6g,127
|
|
22
22
|
odoo/addons/delivery_multi_destination/readme/USAGE.md,sha256=93LQi5SW8LslGtmABGbBo5jJInDB3B1SsYdWI8Hbkq0,159
|
|
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=kVxmqhFfgSZuIO4ckSxeScsNFA3Ocu4sUp8XLD0t0c8,14611
|
|
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=PKtpcuBOQcWhi-qoQ2fMvHiucHW1y67oJh0jDK4xHyY,7604
|
|
27
27
|
odoo/addons/delivery_multi_destination/views/delivery_carrier_view.xml,sha256=XyzKVxZKj0kty_qvW7PpXk85xV6IXpNGKkpO6_aIKC8,3774
|
|
28
|
-
odoo_addon_delivery_multi_destination-17.0.1.0.
|
|
29
|
-
odoo_addon_delivery_multi_destination-17.0.1.0.
|
|
30
|
-
odoo_addon_delivery_multi_destination-17.0.1.0.
|
|
31
|
-
odoo_addon_delivery_multi_destination-17.0.1.0.
|
|
28
|
+
odoo_addon_delivery_multi_destination-17.0.1.0.1.dist-info/METADATA,sha256=L97LO-7f1R2Ou4yBRk9__bJCV_v0EIBjhAQsY8QDhmA,5040
|
|
29
|
+
odoo_addon_delivery_multi_destination-17.0.1.0.1.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
30
|
+
odoo_addon_delivery_multi_destination-17.0.1.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
31
|
+
odoo_addon_delivery_multi_destination-17.0.1.0.1.dist-info/RECORD,,
|