odoo-addon-shipment-advice 16.0.1.4.1.4__py3-none-any.whl → 16.0.1.5.0__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.
@@ -7,7 +7,7 @@ Shipment Advice
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:2e59da4c0eb5b32613f68fa521d372a8c9598a37addc67946952118949a8583f
10
+ !! source digest: sha256:60951d59c7ca7c14de9a7e490200a900d1aec0483212ef3f936e724c5f06e98a
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "name": "Shipment Advice",
6
6
  "summary": "Manage your (un)loading process through shipment advices.",
7
- "version": "16.0.1.4.1",
7
+ "version": "16.0.1.5.0",
8
8
  "author": "Camptocamp, Odoo Community Association (OCA)",
9
9
  "website": "https://github.com/OCA/stock-logistics-transport",
10
10
  "category": "Warehouse Management",
@@ -69,6 +69,7 @@ class ShipmentAdvice(models.Model):
69
69
  states={"draft": [("readonly", False)], "confirmed": [("readonly", False)]},
70
70
  readonly=True,
71
71
  index=True,
72
+ domain="[('warehouse_id', '=', warehouse_id)]",
72
73
  )
73
74
  arrival_date = fields.Datetime(
74
75
  states={"draft": [("readonly", False)], "confirmed": [("readonly", False)]},
@@ -114,6 +115,7 @@ class ShipmentAdvice(models.Model):
114
115
  "in_progress": [("readonly", False)],
115
116
  },
116
117
  readonly=True,
118
+ check_company=True,
117
119
  )
118
120
  planned_moves_count = fields.Integer(compute="_compute_count")
119
121
  planned_picking_ids = fields.One2many(
@@ -132,6 +134,7 @@ class ShipmentAdvice(models.Model):
132
134
  "in_progress": [("readonly", False)],
133
135
  },
134
136
  readonly=True,
137
+ check_company=True,
135
138
  )
136
139
  loaded_move_line_without_package_ids = fields.One2many(
137
140
  comodel_name="stock.move.line",
@@ -144,6 +147,7 @@ class ShipmentAdvice(models.Model):
144
147
  },
145
148
  domain=[("package_level_id", "=", False)],
146
149
  readonly=True,
150
+ check_company=True,
147
151
  )
148
152
  loaded_move_lines_without_package_count = fields.Integer(compute="_compute_count")
149
153
  loaded_picking_ids = fields.One2many(
@@ -74,9 +74,13 @@ class StockPicking(models.Model):
74
74
  for picking in self:
75
75
  # NOTE: Make overloading containers possible,
76
76
  # otherwise overloaded container would be marked as partially loaded
77
- picking.is_fully_loaded_in_shipment = all(
78
- line.shipment_advice_id and line.qty_done >= line.reserved_uom_qty
79
- for line in picking.move_line_ids
77
+ picking.is_fully_loaded_in_shipment = (
78
+ all(
79
+ line.shipment_advice_id and line.qty_done >= line.reserved_uom_qty
80
+ for line in picking.move_line_ids
81
+ )
82
+ if picking.move_line_ids
83
+ else False
80
84
  )
81
85
  picking.is_partially_loaded_in_shipment = (
82
86
  not picking.is_fully_loaded_in_shipment
@@ -8,10 +8,11 @@
8
8
 
9
9
  /*
10
10
  :Author: David Goodger (goodger@python.org)
11
- :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 $
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: grey; } /* line numbers */
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 {
@@ -366,7 +367,7 @@ ul.auto-toc {
366
367
  !! This file is generated by oca-gen-addon-readme !!
367
368
  !! changes will be overwritten. !!
368
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:2e59da4c0eb5b32613f68fa521d372a8c9598a37addc67946952118949a8583f
370
+ !! source digest: sha256:60951d59c7ca7c14de9a7e490200a900d1aec0483212ef3f936e724c5f06e98a
370
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
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/stock-logistics-transport/tree/16.0/shipment_advice"><img alt="OCA/stock-logistics-transport" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--transport-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-transport-16-0/stock-logistics-transport-16-0-shipment_advice"><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/stock-logistics-transport&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
373
  <p>Manage your (un)loading process through shipment advices.</p>
@@ -429,7 +430,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
429
430
  <div class="section" id="maintainers">
430
431
  <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
431
432
  <p>This module is maintained by the OCA.</p>
432
- <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
433
+ <a class="reference external image-reference" href="https://odoo-community.org">
434
+ <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
435
+ </a>
433
436
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
434
437
  mission is to support the collaborative development of Odoo features and
435
438
  promote its widespread use.</p>
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.1
2
- Name: odoo-addon-shipment-advice
3
- Version: 16.0.1.4.1.4
2
+ Name: odoo-addon-shipment_advice
3
+ Version: 16.0.1.5.0
4
4
  Summary: Manage your (un)loading process through shipment advices.
5
5
  Home-page: https://github.com/OCA/stock-logistics-transport
6
6
  Author: Camptocamp, Odoo Community Association (OCA)
7
7
  Author-email: support@odoo-community.org
8
8
  License: AGPL-3
9
- Platform: UNKNOWN
10
9
  Classifier: Programming Language :: Python
11
10
  Classifier: Framework :: Odoo
12
11
  Classifier: Framework :: Odoo :: 16.0
@@ -25,7 +24,7 @@ Shipment Advice
25
24
  !! This file is generated by oca-gen-addon-readme !!
26
25
  !! changes will be overwritten. !!
27
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
- !! source digest: sha256:2e59da4c0eb5b32613f68fa521d372a8c9598a37addc67946952118949a8583f
27
+ !! source digest: sha256:60951d59c7ca7c14de9a7e490200a900d1aec0483212ef3f936e724c5f06e98a
29
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
29
 
31
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -112,5 +111,3 @@ promote its widespread use.
112
111
  This module is part of the `OCA/stock-logistics-transport <https://github.com/OCA/stock-logistics-transport/tree/16.0/shipment_advice>`_ project on GitHub.
113
112
 
114
113
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
115
-
116
-
@@ -1,6 +1,6 @@
1
- odoo/addons/shipment_advice/README.rst,sha256=yvMlyM7b9KnRsUB7Dv04eGlGq3ANf5ixFOYlRcI8mZU,3389
1
+ odoo/addons/shipment_advice/README.rst,sha256=fTPLxZpccDpUydPVvZnIWVBT4qFdMFRheK6LVOCEX2Y,3389
2
2
  odoo/addons/shipment_advice/__init__.py,sha256=0XNpxETgFdVxFDEw03O8oL3NtTSk3we-HEZW2sPKzIU,43
3
- odoo/addons/shipment_advice/__manifest__.py,sha256=8UGjy-v5JwzEOFSuenFavswKghk_0hagiQCeCxt8nSc,1301
3
+ odoo/addons/shipment_advice/__manifest__.py,sha256=Tvr3KkRQd0cV_Xs2BfU2Vv7tvSGltqsKKtvvYDH_4x0,1301
4
4
  odoo/addons/shipment_advice/data/ir_sequence.xml,sha256=7y13W1xPr3o_deB6s5a_UHSJGMpFGCA8JTc7xI5L0-c,1066
5
5
  odoo/addons/shipment_advice/data/queue_job_channel.xml,sha256=wZSQNo7aAknlMpTC-mxXRvYf0rXSF53B3hI7NXwKciA,350
6
6
  odoo/addons/shipment_advice/data/queue_job_function.xml,sha256=cEy-z8znwYUB8GDNjouWgwS-Rbfn1zl7nbpLvdXRD_U,1151
@@ -12,11 +12,11 @@ odoo/addons/shipment_advice/i18n/shipment_advice.pot,sha256=F8VfgXnUV9kgaYcs0CB4
12
12
  odoo/addons/shipment_advice/models/__init__.py,sha256=kvmDs7RDo8Tnvv0w_2GcxgVcw9nATFSixZ1tFlVNNz8,207
13
13
  odoo/addons/shipment_advice/models/res_company.py,sha256=fXtG4UK67RJNoRRXsdL3el5hxsGBLx_lqUKaylg6LEs,1276
14
14
  odoo/addons/shipment_advice/models/res_config_settings.py,sha256=XsOdwRyr3_L07kEoabJN2InBQ6aVXSq0qHtTn-OG8r8,513
15
- odoo/addons/shipment_advice/models/shipment_advice.py,sha256=8AeApCe7XZ6r5gccN3vXdFiUcHQP1NTny6De_qN7NGk,20165
15
+ odoo/addons/shipment_advice/models/shipment_advice.py,sha256=FIR1uVoU9KlDMdqmc6KG0EWM1eFKgnSXpTyE0XqTTJs,20305
16
16
  odoo/addons/shipment_advice/models/stock_move.py,sha256=76z93nLjxFO3et79ogYALXsZadBBz-wqnpwENyDPtbY,543
17
17
  odoo/addons/shipment_advice/models/stock_move_line.py,sha256=gkGBrDFJ1BZC8uY9wwwFSuk_xw__HdRTW2DTGk2WdxI,5378
18
18
  odoo/addons/shipment_advice/models/stock_package_level.py,sha256=0_S4KRBy02kkmBu5Pbcw6g-etJtATveTZh42Srz1R_o,1431
19
- odoo/addons/shipment_advice/models/stock_picking.py,sha256=S_clpA7qtvwM88keWtF2CAPOuxSEc-JgDDY0GAMmOmA,8326
19
+ odoo/addons/shipment_advice/models/stock_picking.py,sha256=EPZ-DNhMWDraIThBveOUBiCBel86ea_uAGuKO-z-QeE,8438
20
20
  odoo/addons/shipment_advice/readme/CONTRIBUTORS.rst,sha256=IWUYnivo0DXa4JN3euivIwPkudMEjRYeoY4qPiUvHSw,319
21
21
  odoo/addons/shipment_advice/readme/CREDITS.rst,sha256=CuObn3b483zExCIho2SzTKfTU3M7H3vMQNHdTAc7UV4,138
22
22
  odoo/addons/shipment_advice/readme/DESCRIPTION.rst,sha256=m5Xql8e7i_F_7AMLc-1lBRGVCHUca9kJ78ZRxOUaOl8,58
@@ -24,7 +24,7 @@ odoo/addons/shipment_advice/report/report_shipment_advice.xml,sha256=hKMUP7iuRLp
24
24
  odoo/addons/shipment_advice/report/reports.xml,sha256=8LeKVB1M0a4gsLyrwd68RMnxoUw0xCYIn2KN4jlCuLA,1523
25
25
  odoo/addons/shipment_advice/security/ir.model.access.csv,sha256=FeiNV6yP6OOOwJw2MHyo1B3TQQ-umOz75A7QAlCTPZs,657
26
26
  odoo/addons/shipment_advice/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
27
- odoo/addons/shipment_advice/static/description/index.html,sha256=UCnpGeHBYfvlYIiqDgze69YwlVUa-wlYGZoSREtkvqo,13567
27
+ odoo/addons/shipment_advice/static/description/index.html,sha256=0QYesWG-4W4P01Z2zBa29sDLbiUBcSQ2bq_rcEuHO18,13650
28
28
  odoo/addons/shipment_advice/tests/__init__.py,sha256=NAs_27I19CYFy1t_xuuUDGuuyd0hoa7q1uHRydzdgRY,244
29
29
  odoo/addons/shipment_advice/tests/common.py,sha256=ry1jywQT7E5Rim0l732BRyEIfxBm0fvNH5XKQGFkVNg,7132
30
30
  odoo/addons/shipment_advice/tests/test_shipment_advice.py,sha256=GO7AV4O2Js8cZ9a7EmZY5-4n1uMWF6zhQwORZxsj5YY,7540
@@ -48,7 +48,7 @@ odoo/addons/shipment_advice/wizards/unload_shipment.py,sha256=J0GtSHeykr5YsJH48a
48
48
  odoo/addons/shipment_advice/wizards/unload_shipment.xml,sha256=xYL7hKrlH11PfRPOV9uTGDeafSA7KlmZbm5AZ8icqyQ,1562
49
49
  odoo/addons/shipment_advice/wizards/unplan_shipment.py,sha256=zdzK3vRbZW0eY3iw9eOGxXhs5YDTjZhT9JBSyRoqqoM,4163
50
50
  odoo/addons/shipment_advice/wizards/unplan_shipment.xml,sha256=KX4lF5O-HOwcylK3odlqfQd-TDvQLTYtfsxptinIsIQ,1832
51
- odoo_addon_shipment_advice-16.0.1.4.1.4.dist-info/METADATA,sha256=Y6i2iHNm0Mzgs78EXflCJ-ao5B_cswphmdLUB-7iOpg,4083
52
- odoo_addon_shipment_advice-16.0.1.4.1.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
53
- odoo_addon_shipment_advice-16.0.1.4.1.4.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
54
- odoo_addon_shipment_advice-16.0.1.4.1.4.dist-info/RECORD,,
51
+ odoo_addon_shipment_advice-16.0.1.5.0.dist-info/METADATA,sha256=vqICVKDSqw05KusAAzB1ZHR7VeB9HBkRnSa0-ifDK8M,4061
52
+ odoo_addon_shipment_advice-16.0.1.5.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
53
+ odoo_addon_shipment_advice-16.0.1.5.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
54
+ odoo_addon_shipment_advice-16.0.1.5.0.dist-info/RECORD,,