odoo-addon-shopfloor 16.0.2.10.0.4__py3-none-any.whl → 16.0.2.10.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.
@@ -11,7 +11,7 @@ Shopfloor
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:f6bf44c46907424c9adf6166901cdac6cda73038169d71fe37121d21ab72b2ea
14
+ !! source digest: sha256:3b3e7f94a81872e7868a889ce80740558ad70732df2821188971ff06a639e995
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "name": "Shopfloor",
8
8
  "summary": "manage warehouse operations with barcode scanners",
9
- "version": "16.0.2.10.0",
9
+ "version": "16.0.2.10.1",
10
10
  "development_status": "Beta",
11
11
  "category": "Inventory",
12
12
  "website": "https://github.com/OCA/wms",
@@ -611,7 +611,11 @@ class LocationContentTransfer(Component):
611
611
  "lot": self._scan_line__by_lot,
612
612
  "none": self._scan_line__fallback,
613
613
  }
614
- search_result = search.find(barcode, types=handlers.keys())
614
+ search_result = search.find(
615
+ barcode,
616
+ types=handlers.keys(),
617
+ handler_kw=dict(lot=dict(products=move_line.product_id)),
618
+ )
615
619
  handler = handlers.get(search_result.type, self._scan_line__fallback)
616
620
  # handler might've been called but returned no response.
617
621
  # I.E. package is scanned but doesn't matches move_line's package.
@@ -372,7 +372,7 @@ ul.auto-toc {
372
372
  !! This file is generated by oca-gen-addon-readme !!
373
373
  !! changes will be overwritten. !!
374
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375
- !! source digest: sha256:f6bf44c46907424c9adf6166901cdac6cda73038169d71fe37121d21ab72b2ea
375
+ !! source digest: sha256:3b3e7f94a81872e7868a889ce80740558ad70732df2821188971ff06a639e995
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
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/wms/tree/16.0/shopfloor"><img alt="OCA/wms" src="https://img.shields.io/badge/github-OCA%2Fwms-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/wms-16-0/wms-16-0-shopfloor"><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/wms&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378
378
  <p>Shopfloor is a barcode scanner application for internal warehouse operations.</p>
@@ -78,6 +78,12 @@ class ClusterPickingScanLineCase(ClusterPickingLineCommonCase):
78
78
  self.product_a.tracking = "serial"
79
79
  self._simulate_batch_selected(self.batch, in_lot=True)
80
80
  line = self.batch.picking_ids.move_line_ids
81
+ lot = line.lot_id
82
+ self.assertTrue(lot)
83
+ lot_with_same_name = line.lot_id.copy(
84
+ {"product_id": self.product_b.id, "name": line.lot_id.name}
85
+ )
86
+ self.assertEqual(lot_with_same_name.name, lot.name)
81
87
  self._scan_line_ok(line, line.lot_id.name)
82
88
 
83
89
  def test_scan_line_error_product_tracked(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-shopfloor
3
- Version: 16.0.2.10.0.4
3
+ Version: 16.0.2.10.1
4
4
  Summary: manage warehouse operations with barcode scanners
5
5
  Home-page: https://github.com/OCA/wms
6
6
  Author: Camptocamp, BCIM, Akretion, Odoo Community Association (OCA)
@@ -40,7 +40,7 @@ Shopfloor
40
40
  !! This file is generated by oca-gen-addon-readme !!
41
41
  !! changes will be overwritten. !!
42
42
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
43
- !! source digest: sha256:f6bf44c46907424c9adf6166901cdac6cda73038169d71fe37121d21ab72b2ea
43
+ !! source digest: sha256:3b3e7f94a81872e7868a889ce80740558ad70732df2821188971ff06a639e995
44
44
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
45
45
 
46
46
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/shopfloor/README.rst,sha256=0S60RgLckeHyurIG3uPgoJUZNN5RiQbQecsJ_O8iDCo,5483
1
+ odoo/addons/shopfloor/README.rst,sha256=D3OjlLOup8oQlS52jiTd2kMoogVcJIy3WwQzu29um6w,5483
2
2
  odoo/addons/shopfloor/__init__.py,sha256=ke3RmZ7XkX-lz4S8NHAxNIEJ5_Nvj5bjBAqD-W-q73c,91
3
- odoo/addons/shopfloor/__manifest__.py,sha256=m37x2lUj-wnM5ZjMiRsgM9HQ0YhZcWvCPbeEsCkP0vg,2246
3
+ odoo/addons/shopfloor/__manifest__.py,sha256=5WSR1SQH0zI3PtOqoBMj2KaehCzYaXq5S3s7xMnwmaw,2246
4
4
  odoo/addons/shopfloor/exceptions.py,sha256=81KpIGVkuYRhA0cIuml4pg4G3izqkAAhLqoXZbUd4X8,197
5
5
  odoo/addons/shopfloor/utils.py,sha256=Be7J8Tu7ivOW4lpe8IjKxwqfTwfmK-ZkeFEavoYIIF4,375
6
6
  odoo/addons/shopfloor/actions/__init__.py,sha256=_yTf-NtaJmSylBJIoJJvKNYEI-wlqpyRw-S5eJRRzEM,400
@@ -76,7 +76,7 @@ odoo/addons/shopfloor/services/__init__.py,sha256=4lhF0VNx8QosVEZj9QJYgv6oWD0kl9
76
76
  odoo/addons/shopfloor/services/checkout.py,sha256=dIlYeSXkudk2kiN4VF0Z6c7qfF3BYtxLw-vMK1xzc94,82073
77
77
  odoo/addons/shopfloor/services/cluster_picking.py,sha256=ZD0MPqMGqa4F1tOdIUHLogE3Ip7qr7ZUSWVRgYzvVSA,68721
78
78
  odoo/addons/shopfloor/services/delivery.py,sha256=NlGRvICguH6ZI4KuofDXv602u7Owv0OMKljkzetaoVI,34466
79
- odoo/addons/shopfloor/services/location_content_transfer.py,sha256=8jyIpnkSiQTdNQR-rguL5MDys4wlo-iUDeHhaivRkdY,50334
79
+ odoo/addons/shopfloor/services/location_content_transfer.py,sha256=V8rbC0JnQo8w_9LXzG80QYiwXCOdnX1MSzTWQ3SF874,50439
80
80
  odoo/addons/shopfloor/services/menu.py,sha256=m1eNOReTda_xD-p-m8k2Pn5cJQOLWTiaBGW46zxsYsk,2354
81
81
  odoo/addons/shopfloor/services/picking_batch.py,sha256=w51R5HHkQxCHle72k28VetXKfIRRh5GTaEXv6mhikvQ,4649
82
82
  odoo/addons/shopfloor/services/service.py,sha256=oTYAPM3zwm5gWgEJyBsbQlq0AODPq9T8LPwt39NTUBw,6438
@@ -85,7 +85,7 @@ odoo/addons/shopfloor/services/zone_picking.py,sha256=9GFw2AKBFFci8Erb8UyTAYuCI9
85
85
  odoo/addons/shopfloor/services/forms/__init__.py,sha256=nxwJdKX47hb56ERf4Qb3UE5dkdsHCbkaXMAXs4XMAd8,27
86
86
  odoo/addons/shopfloor/services/forms/picking_form.py,sha256=F15G5yw78Pd1WgPjMz00-K1JyGaTdfdvVYzG4Dubpqk,2626
87
87
  odoo/addons/shopfloor/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
88
- odoo/addons/shopfloor/static/description/index.html,sha256=SKCFZQLRUB_eBy8pk6SitD328yEfWVGqNRX5Cm4iB-Q,17775
88
+ odoo/addons/shopfloor/static/description/index.html,sha256=XfEe9kuWu6sJXPygow9YoykFqiUw8IrfPoQuPsgX0JQ,17775
89
89
  odoo/addons/shopfloor/tests/__init__.py,sha256=4WHuLVjOX_lndDJyuyGcreNckArFJL2HA5PPFlhT6FM,3962
90
90
  odoo/addons/shopfloor/tests/common.py,sha256=nU-1CYbAi2hoI2jFIcw6udgl1ave_IGJciyOZ9DeiAE,11610
91
91
  odoo/addons/shopfloor/tests/models.py,sha256=PWNPC6DgFMbrarojSxUqwycnBdePX-4Q5Z0rn1WwQqY,940
@@ -124,7 +124,7 @@ odoo/addons/shopfloor/tests/test_cluster_picking_change_pack_lot.py,sha256=S2fUP
124
124
  odoo/addons/shopfloor/tests/test_cluster_picking_is_zero.py,sha256=8cpEDTRmA38cxNZoD9pKoiThVZ6D2mxjt30QjCLuU2M,3330
125
125
  odoo/addons/shopfloor/tests/test_cluster_picking_scan_destination.py,sha256=aw7EpfGkKINj0KZfnYhDhyeBImx6wlkGPwhhYYVBsKw,14201
126
126
  odoo/addons/shopfloor/tests/test_cluster_picking_scan_destination_no_prefill_qty.py,sha256=hboVxHXNFqZ0DDTBqUBW9r6Dq428Vq5uj7fgaGIdPAg,4464
127
- odoo/addons/shopfloor/tests/test_cluster_picking_scan_line.py,sha256=urAU4AhLX-GCcXqpJEG-mbiy63lXwzbtf4J5jZ-IiaA,15410
127
+ odoo/addons/shopfloor/tests/test_cluster_picking_scan_line.py,sha256=bHOK4eraF83SBYWCbu4lcJfJ7VYw0XgEDQaKMHn_wBY,15654
128
128
  odoo/addons/shopfloor/tests/test_cluster_picking_scan_line_location_or_pack_first.py,sha256=cYzOtirVzMJUgO8oElrrRikq8ML1HXuHidBmEdVeL7M,4434
129
129
  odoo/addons/shopfloor/tests/test_cluster_picking_scan_line_no_prefill_qty.py,sha256=xf2QXXovehcbvmuTek20qbDP4gUiLgPpw8XkFNN3Cds,2905
130
130
  odoo/addons/shopfloor/tests/test_cluster_picking_select.py,sha256=BvuQznmCtOAipvgEhiUiTyeKR6nDkC5u9hCUZIF7MEc,15240
@@ -187,7 +187,7 @@ odoo/addons/shopfloor/views/shopfloor_menu.xml,sha256=rKXjj0Jk8gjda1y1B6d1_s3sn0
187
187
  odoo/addons/shopfloor/views/stock_location.xml,sha256=d7iqbOQZbb5YPSdAXlQ6spcj8dUvQ37DpEGuaLX5B1M,829
188
188
  odoo/addons/shopfloor/views/stock_move_line.xml,sha256=tn3pV67aRoYmn3qkm3aSgdYArY-z9SIrl_4fpJFy3Jo,1984
189
189
  odoo/addons/shopfloor/views/stock_picking_type.xml,sha256=Ckn2835hO4HtuZQX9x3382C4gs789fb94Cx0444mBkc,800
190
- odoo_addon_shopfloor-16.0.2.10.0.4.dist-info/METADATA,sha256=YLONDhNF0hgJzzx-4QOtSldcDMVj3OyOKtND4FRWNxU,6929
191
- odoo_addon_shopfloor-16.0.2.10.0.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
192
- odoo_addon_shopfloor-16.0.2.10.0.4.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
193
- odoo_addon_shopfloor-16.0.2.10.0.4.dist-info/RECORD,,
190
+ odoo_addon_shopfloor-16.0.2.10.1.dist-info/METADATA,sha256=tFC5kwKHiWn2kNX_DqkRIg0GruHpdBOQ0h_vMxqQ__4,6927
191
+ odoo_addon_shopfloor-16.0.2.10.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
192
+ odoo_addon_shopfloor-16.0.2.10.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
193
+ odoo_addon_shopfloor-16.0.2.10.1.dist-info/RECORD,,