odoo-addon-shopfloor 16.0.2.5.0__py3-none-any.whl → 16.0.2.6.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 @@ Shopfloor
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:86239aacdfa7d7810aca5b0625ebd9112b12385d98899ac696d596b455b0c57d
10
+ !! source digest: sha256:15590a835f281c13f0eae031c50d19d04ab77e94ee95b697d5eabd04373c21ce
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |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.5.0",
9
+ "version": "16.0.2.6.0",
10
10
  "development_status": "Beta",
11
11
  "category": "Inventory",
12
12
  "website": "https://github.com/OCA/wms",
@@ -617,9 +617,9 @@ msgstr ""
617
617
 
618
618
  #. module: shopfloor
619
619
  #. odoo-python
620
- #: code:addons/shopfloor/services/checkout.py:0
620
+ #: code:addons/shopfloor/actions/message.py:0
621
621
  #, python-format
622
- msgid "Lot is not in the current transfer."
622
+ msgid "Lot changed"
623
623
  msgstr ""
624
624
 
625
625
  #. module: shopfloor
@@ -1354,6 +1354,13 @@ msgstr ""
1354
1354
  msgid "Scan the package"
1355
1355
  msgstr ""
1356
1356
 
1357
+ #. module: shopfloor
1358
+ #. odoo-python
1359
+ #: code:addons/shopfloor/actions/message.py:0
1360
+ #, python-format
1361
+ msgid "Scanned lot differs from the previous scan: %(lot)s."
1362
+ msgstr ""
1363
+
1357
1364
  #. module: shopfloor
1358
1365
  #. odoo-python
1359
1366
  #: code:addons/shopfloor/models/shopfloor_menu.py:0
@@ -1784,6 +1791,13 @@ msgstr ""
1784
1791
  msgid "This location requires packages. Please scan a destination package."
1785
1792
  msgstr ""
1786
1793
 
1794
+ #. module: shopfloor
1795
+ #. odoo-python
1796
+ #: code:addons/shopfloor/actions/message.py:0
1797
+ #, python-format
1798
+ msgid "This lot does not exist anymore."
1799
+ msgstr ""
1800
+
1787
1801
  #. module: shopfloor
1788
1802
  #. odoo-python
1789
1803
  #: code:addons/shopfloor/actions/message.py:0
@@ -1911,6 +1925,13 @@ msgid ""
1911
1925
  "instead."
1912
1926
  msgstr ""
1913
1927
 
1928
+ #. module: shopfloor
1929
+ #. odoo-python
1930
+ #: code:addons/shopfloor/actions/message.py:0
1931
+ #, python-format
1932
+ msgid "Unable to find a line with the same product but different lot."
1933
+ msgstr ""
1934
+
1914
1935
  #. module: shopfloor
1915
1936
  #. odoo-python
1916
1937
  #: code:addons/shopfloor/actions/message.py:0
@@ -2104,6 +2125,16 @@ msgstr ""
2104
2125
  msgid "You must not pick more than {} units."
2105
2126
  msgstr ""
2106
2127
 
2128
+ #. module: shopfloor
2129
+ #. odoo-python
2130
+ #: code:addons/shopfloor/actions/message.py:0
2131
+ #, python-format
2132
+ msgid ""
2133
+ "You scanned a different lot with the same product, do you want to change "
2134
+ "lot? Scan it again to confirm. The first line matching this product will be "
2135
+ "updated. "
2136
+ msgstr ""
2137
+
2107
2138
  #. module: shopfloor
2108
2139
  #. odoo-python
2109
2140
  #: code:addons/shopfloor/actions/message.py:0
@@ -613,9 +613,9 @@ msgstr ""
613
613
 
614
614
  #. module: shopfloor
615
615
  #. odoo-python
616
- #: code:addons/shopfloor/services/checkout.py:0
616
+ #: code:addons/shopfloor/actions/message.py:0
617
617
  #, python-format
618
- msgid "Lot is not in the current transfer."
618
+ msgid "Lot changed"
619
619
  msgstr ""
620
620
 
621
621
  #. module: shopfloor
@@ -1350,6 +1350,13 @@ msgstr ""
1350
1350
  msgid "Scan the package"
1351
1351
  msgstr ""
1352
1352
 
1353
+ #. module: shopfloor
1354
+ #. odoo-python
1355
+ #: code:addons/shopfloor/actions/message.py:0
1356
+ #, python-format
1357
+ msgid "Scanned lot differs from the previous scan: %(lot)s."
1358
+ msgstr ""
1359
+
1353
1360
  #. module: shopfloor
1354
1361
  #. odoo-python
1355
1362
  #: code:addons/shopfloor/models/shopfloor_menu.py:0
@@ -1780,6 +1787,13 @@ msgstr ""
1780
1787
  msgid "This location requires packages. Please scan a destination package."
1781
1788
  msgstr ""
1782
1789
 
1790
+ #. module: shopfloor
1791
+ #. odoo-python
1792
+ #: code:addons/shopfloor/actions/message.py:0
1793
+ #, python-format
1794
+ msgid "This lot does not exist anymore."
1795
+ msgstr ""
1796
+
1783
1797
  #. module: shopfloor
1784
1798
  #. odoo-python
1785
1799
  #: code:addons/shopfloor/actions/message.py:0
@@ -1907,6 +1921,13 @@ msgid ""
1907
1921
  "instead."
1908
1922
  msgstr ""
1909
1923
 
1924
+ #. module: shopfloor
1925
+ #. odoo-python
1926
+ #: code:addons/shopfloor/actions/message.py:0
1927
+ #, python-format
1928
+ msgid "Unable to find a line with the same product but different lot."
1929
+ msgstr ""
1930
+
1910
1931
  #. module: shopfloor
1911
1932
  #. odoo-python
1912
1933
  #: code:addons/shopfloor/actions/message.py:0
@@ -2100,6 +2121,16 @@ msgstr ""
2100
2121
  msgid "You must not pick more than {} units."
2101
2122
  msgstr ""
2102
2123
 
2124
+ #. module: shopfloor
2125
+ #. odoo-python
2126
+ #: code:addons/shopfloor/actions/message.py:0
2127
+ #, python-format
2128
+ msgid ""
2129
+ "You scanned a different lot with the same product, do you want to change "
2130
+ "lot? Scan it again to confirm. The first line matching this product will be "
2131
+ "updated. "
2132
+ msgstr ""
2133
+
2103
2134
  #. module: shopfloor
2104
2135
  #. odoo-python
2105
2136
  #: code:addons/shopfloor/actions/message.py:0
@@ -659,10 +659,10 @@ msgstr "Lote %(old_lot_name)s reemplazado por lote %(new_lot_name)s."
659
659
 
660
660
  #. module: shopfloor
661
661
  #. odoo-python
662
- #: code:addons/shopfloor/services/checkout.py:0
662
+ #: code:addons/shopfloor/actions/message.py:0
663
663
  #, python-format
664
- msgid "Lot is not in the current transfer."
665
- msgstr "El Lote no está en la transferencia actual."
664
+ msgid "Lot changed"
665
+ msgstr ""
666
666
 
667
667
  #. module: shopfloor
668
668
  #. odoo-python
@@ -1420,6 +1420,13 @@ msgstr "Escanear la ubicación de destino"
1420
1420
  msgid "Scan the package"
1421
1421
  msgstr "Escanear el paquete"
1422
1422
 
1423
+ #. module: shopfloor
1424
+ #. odoo-python
1425
+ #: code:addons/shopfloor/actions/message.py:0
1426
+ #, python-format
1427
+ msgid "Scanned lot differs from the previous scan: %(lot)s."
1428
+ msgstr ""
1429
+
1423
1430
  #. module: shopfloor
1424
1431
  #. odoo-python
1425
1432
  #: code:addons/shopfloor/models/shopfloor_menu.py:0
@@ -1878,6 +1885,13 @@ msgstr ""
1878
1885
  msgid "This location requires packages. Please scan a destination package."
1879
1886
  msgstr ""
1880
1887
 
1888
+ #. module: shopfloor
1889
+ #. odoo-python
1890
+ #: code:addons/shopfloor/actions/message.py:0
1891
+ #, python-format
1892
+ msgid "This lot does not exist anymore."
1893
+ msgstr "Este lote ya no existe."
1894
+
1881
1895
  #. module: shopfloor
1882
1896
  #. odoo-python
1883
1897
  #: code:addons/shopfloor/actions/message.py:0
@@ -2009,6 +2023,13 @@ msgid ""
2009
2023
  "instead."
2010
2024
  msgstr ""
2011
2025
 
2026
+ #. module: shopfloor
2027
+ #. odoo-python
2028
+ #: code:addons/shopfloor/actions/message.py:0
2029
+ #, python-format
2030
+ msgid "Unable to find a line with the same product but different lot."
2031
+ msgstr ""
2032
+
2012
2033
  #. module: shopfloor
2013
2034
  #. odoo-python
2014
2035
  #: code:addons/shopfloor/actions/message.py:0
@@ -2208,6 +2229,16 @@ msgstr ""
2208
2229
  msgid "You must not pick more than {} units."
2209
2230
  msgstr "No debe seleccionar más de {} unidades."
2210
2231
 
2232
+ #. module: shopfloor
2233
+ #. odoo-python
2234
+ #: code:addons/shopfloor/actions/message.py:0
2235
+ #, python-format
2236
+ msgid ""
2237
+ "You scanned a different lot with the same product, do you want to change "
2238
+ "lot? Scan it again to confirm. The first line matching this product will be "
2239
+ "updated. "
2240
+ msgstr ""
2241
+
2211
2242
  #. module: shopfloor
2212
2243
  #. odoo-python
2213
2244
  #: code:addons/shopfloor/actions/message.py:0
@@ -2241,6 +2272,10 @@ msgstr ""
2241
2272
  msgid "{} is not a valid destination package."
2242
2273
  msgstr "{} no es un paquete de destino válido."
2243
2274
 
2275
+ #, python-format
2276
+ #~ msgid "Lot is not in the current transfer."
2277
+ #~ msgstr "El Lote no está en la transferencia actual."
2278
+
2244
2279
  #, python-format
2245
2280
  #~ msgid "A draft inventory has been created for control."
2246
2281
  #~ msgstr "Se ha creado un borrador de inventario para su control."
@@ -2377,10 +2412,6 @@ msgstr "{} no es un paquete de destino válido."
2377
2412
  #~ msgid "Product not found in the current transfer."
2378
2413
  #~ msgstr "Producto no encontrado en la transferencia actual."
2379
2414
 
2380
- #, python-format
2381
- #~ msgid "This lot does not exist anymore."
2382
- #~ msgstr "Este lote ya no existe."
2383
-
2384
2415
  #, python-format
2385
2416
  #~ msgid "Packaging not found in the current transfer or already in a package."
2386
2417
  #~ msgstr ""
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: Odoo Server 14.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "PO-Revision-Date: 2025-01-16 10:06+0000\n"
9
+ "PO-Revision-Date: 2025-01-31 20:06+0000\n"
10
10
  "Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11
11
  "Language-Team: none\n"
12
12
  "Language: it\n"
@@ -696,10 +696,10 @@ msgstr "Lotto %(old_lot_name)s sostituito dal lotto %(new_lot_name)s."
696
696
 
697
697
  #. module: shopfloor
698
698
  #. odoo-python
699
- #: code:addons/shopfloor/services/checkout.py:0
699
+ #: code:addons/shopfloor/actions/message.py:0
700
700
  #, python-format
701
- msgid "Lot is not in the current transfer."
702
- msgstr "Il lotto non è nel trasferimento attuale."
701
+ msgid "Lot changed"
702
+ msgstr "Lotto modificato"
703
703
 
704
704
  #. module: shopfloor
705
705
  #. odoo-python
@@ -1461,6 +1461,13 @@ msgstr "Scansionare l'ubicazione destinazione"
1461
1461
  msgid "Scan the package"
1462
1462
  msgstr "Scansionare il collo"
1463
1463
 
1464
+ #. module: shopfloor
1465
+ #. odoo-python
1466
+ #: code:addons/shopfloor/actions/message.py:0
1467
+ #, python-format
1468
+ msgid "Scanned lot differs from the previous scan: %(lot)s."
1469
+ msgstr "Il lotto letto è diverso da quello letto in precedenza: %(lot)s."
1470
+
1464
1471
  #. module: shopfloor
1465
1472
  #. odoo-python
1466
1473
  #: code:addons/shopfloor/models/shopfloor_menu.py:0
@@ -1922,6 +1929,13 @@ msgstr "Questa ubicazione contiene solo colli, selezionarne uno."
1922
1929
  msgid "This location requires packages. Please scan a destination package."
1923
1930
  msgstr "Questa ubicazione richiede colli. Scansionare un collo destinazione."
1924
1931
 
1932
+ #. module: shopfloor
1933
+ #. odoo-python
1934
+ #: code:addons/shopfloor/actions/message.py:0
1935
+ #, python-format
1936
+ msgid "This lot does not exist anymore."
1937
+ msgstr "Questo loto non esiste più."
1938
+
1925
1939
  #. module: shopfloor
1926
1940
  #. odoo-python
1927
1941
  #: code:addons/shopfloor/actions/message.py:0
@@ -2057,6 +2071,14 @@ msgstr ""
2057
2071
  "Il trasferimento ad un collo differente non è consentito, scansionare invece "
2058
2072
  "un'ubicazione."
2059
2073
 
2074
+ #. module: shopfloor
2075
+ #. odoo-python
2076
+ #: code:addons/shopfloor/actions/message.py:0
2077
+ #, python-format
2078
+ msgid "Unable to find a line with the same product but different lot."
2079
+ msgstr ""
2080
+ "Impossibile trovare una riga con lo stesso prodotto ma un lotto diverso."
2081
+
2060
2082
  #. module: shopfloor
2061
2083
  #. odoo-python
2062
2084
  #: code:addons/shopfloor/actions/message.py:0
@@ -2266,6 +2288,19 @@ msgstr ""
2266
2288
  msgid "You must not pick more than {} units."
2267
2289
  msgstr "Nonsi possono prelevare più di {} unità."
2268
2290
 
2291
+ #. module: shopfloor
2292
+ #. odoo-python
2293
+ #: code:addons/shopfloor/actions/message.py:0
2294
+ #, python-format
2295
+ msgid ""
2296
+ "You scanned a different lot with the same product, do you want to change "
2297
+ "lot? Scan it again to confirm. The first line matching this product will be "
2298
+ "updated. "
2299
+ msgstr ""
2300
+ "Si è scansionato un lotto diverso con lo stesso prodotto, si vuole cambiare "
2301
+ "lotto? Scansionarlo di nuovo per confermare. La prima riga corrispondente a "
2302
+ "questo prodotto verrà aggiornata. "
2303
+
2269
2304
  #. module: shopfloor
2270
2305
  #. odoo-python
2271
2306
  #: code:addons/shopfloor/actions/message.py:0
@@ -2301,6 +2336,10 @@ msgstr ""
2301
2336
  msgid "{} is not a valid destination package."
2302
2337
  msgstr "{} non è un collo destinazione valido."
2303
2338
 
2339
+ #, python-format
2340
+ #~ msgid "Lot is not in the current transfer."
2341
+ #~ msgstr "Il lotto non è nel trasferimento attuale."
2342
+
2304
2343
  #, python-format
2305
2344
  #~ msgid ""
2306
2345
  #~ "The quantity scanned for one or more lines cannot be higher than the "
@@ -613,9 +613,9 @@ msgstr ""
613
613
 
614
614
  #. module: shopfloor
615
615
  #. odoo-python
616
- #: code:addons/shopfloor/services/checkout.py:0
616
+ #: code:addons/shopfloor/actions/message.py:0
617
617
  #, python-format
618
- msgid "Lot is not in the current transfer."
618
+ msgid "Lot changed"
619
619
  msgstr ""
620
620
 
621
621
  #. module: shopfloor
@@ -1350,6 +1350,13 @@ msgstr ""
1350
1350
  msgid "Scan the package"
1351
1351
  msgstr ""
1352
1352
 
1353
+ #. module: shopfloor
1354
+ #. odoo-python
1355
+ #: code:addons/shopfloor/actions/message.py:0
1356
+ #, python-format
1357
+ msgid "Scanned lot differs from the previous scan: %(lot)s."
1358
+ msgstr ""
1359
+
1353
1360
  #. module: shopfloor
1354
1361
  #. odoo-python
1355
1362
  #: code:addons/shopfloor/models/shopfloor_menu.py:0
@@ -1780,6 +1787,13 @@ msgstr ""
1780
1787
  msgid "This location requires packages. Please scan a destination package."
1781
1788
  msgstr ""
1782
1789
 
1790
+ #. module: shopfloor
1791
+ #. odoo-python
1792
+ #: code:addons/shopfloor/actions/message.py:0
1793
+ #, python-format
1794
+ msgid "This lot does not exist anymore."
1795
+ msgstr ""
1796
+
1783
1797
  #. module: shopfloor
1784
1798
  #. odoo-python
1785
1799
  #: code:addons/shopfloor/actions/message.py:0
@@ -1907,6 +1921,13 @@ msgid ""
1907
1921
  "instead."
1908
1922
  msgstr ""
1909
1923
 
1924
+ #. module: shopfloor
1925
+ #. odoo-python
1926
+ #: code:addons/shopfloor/actions/message.py:0
1927
+ #, python-format
1928
+ msgid "Unable to find a line with the same product but different lot."
1929
+ msgstr ""
1930
+
1910
1931
  #. module: shopfloor
1911
1932
  #. odoo-python
1912
1933
  #: code:addons/shopfloor/actions/message.py:0
@@ -2100,6 +2121,16 @@ msgstr ""
2100
2121
  msgid "You must not pick more than {} units."
2101
2122
  msgstr ""
2102
2123
 
2124
+ #. module: shopfloor
2125
+ #. odoo-python
2126
+ #: code:addons/shopfloor/actions/message.py:0
2127
+ #, python-format
2128
+ msgid ""
2129
+ "You scanned a different lot with the same product, do you want to change "
2130
+ "lot? Scan it again to confirm. The first line matching this product will be "
2131
+ "updated. "
2132
+ msgstr ""
2133
+
2103
2134
  #. module: shopfloor
2104
2135
  #. odoo-python
2105
2136
  #: code:addons/shopfloor/actions/message.py:0
@@ -695,16 +695,32 @@ class ClusterPicking(Component):
695
695
  if not product:
696
696
  packaging = search.packaging_from_scan(barcode)
697
697
  product = packaging.product_id
698
- if product and move_line.product_id == product:
699
- quantity += packaging.qty or 1.0
700
- response = self._response_for_scan_destination(move_line, qty_done=quantity)
701
- return response
698
+ if product:
699
+ if move_line.product_id == product:
700
+ quantity += packaging.qty or 1.0
701
+ response = self._response_for_scan_destination(
702
+ move_line, qty_done=quantity
703
+ )
704
+ return response
705
+ return self._response_for_scan_destination(
706
+ move_line,
707
+ message=self.msg_store.wrong_record(product),
708
+ qty_done=quantity,
709
+ )
702
710
  # Handle barcode of a lot
703
711
  lot = search.lot_from_scan(barcode)
704
- if lot and move_line.lot_id == lot:
705
- quantity += 1.0
706
- response = self._response_for_scan_destination(move_line, qty_done=quantity)
707
- return response
712
+ if lot:
713
+ if move_line.lot_id == lot:
714
+ quantity += 1.0
715
+ response = self._response_for_scan_destination(
716
+ move_line, qty_done=quantity
717
+ )
718
+ return response
719
+ return self._response_for_scan_destination(
720
+ move_line,
721
+ message=self.msg_store.wrong_record(lot),
722
+ qty_done=quantity,
723
+ )
708
724
  return response
709
725
 
710
726
  def scan_destination_pack(self, picking_batch_id, move_line_id, barcode, quantity):
@@ -894,29 +894,25 @@ class ZonePicking(Component):
894
894
  base_response=response, message=self.msg_store.barcode_not_found()
895
895
  )
896
896
 
897
- def _set_destination_location(
897
+ def _check_set_destination_location(
898
898
  self, move_line, package, quantity, confirmation, location, barcode
899
899
  ):
900
- location_changed = False
901
- response = None
902
-
903
900
  # A valid location is a sub-location of the original destination, or a
904
901
  # any sub-location of the picking type's default destination location
905
902
  # if `confirmation is equal to the barcode scanned.
906
903
  # Ask confirmation to the user if the scanned location is not in the
907
904
  # expected ones but is valid (in picking type's default destination)
908
905
  if not self.is_dest_location_valid(move_line.move_id, location):
909
- response = self._response_for_set_line_destination(
906
+ return self._response_for_set_line_destination(
910
907
  move_line,
911
908
  message=self.msg_store.dest_location_not_allowed(),
912
909
  qty_done=quantity,
913
910
  )
914
- return (location_changed, response)
915
911
 
916
912
  if confirmation != barcode and self.is_dest_location_to_confirm(
917
913
  move_line.location_dest_id, location
918
914
  ):
919
- response = self._response_for_set_line_destination(
915
+ return self._response_for_set_line_destination(
920
916
  move_line,
921
917
  message=self.msg_store.confirm_location_changed(
922
918
  move_line.location_dest_id, location
@@ -924,15 +920,23 @@ class ZonePicking(Component):
924
920
  confirmation_required=barcode,
925
921
  qty_done=quantity,
926
922
  )
927
- return (location_changed, response)
928
923
 
929
924
  # If no destination package
930
925
  if self._packing_required() and not move_line.result_package_id:
931
- response = self._response_for_set_line_destination(
926
+ return self._response_for_set_line_destination(
932
927
  move_line,
933
928
  message=self.msg_store.dest_package_required(),
934
929
  qty_done=quantity,
935
930
  )
931
+
932
+ def _set_destination_location(
933
+ self, move_line, package, quantity, confirmation, location, barcode
934
+ ):
935
+ location_changed = False
936
+ response = self._check_set_destination_location(
937
+ move_line, package, quantity, confirmation, location, barcode
938
+ )
939
+ if response:
936
940
  return (location_changed, response)
937
941
  # destination location set to the scanned one
938
942
 
@@ -367,7 +367,7 @@ ul.auto-toc {
367
367
  !! This file is generated by oca-gen-addon-readme !!
368
368
  !! changes will be overwritten. !!
369
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:86239aacdfa7d7810aca5b0625ebd9112b12385d98899ac696d596b455b0c57d
370
+ !! source digest: sha256:15590a835f281c13f0eae031c50d19d04ab77e94ee95b697d5eabd04373c21ce
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
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/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>
373
373
  <p>Shopfloor is a barcode scanner application for internal warehouse operations.</p>
@@ -1,4 +1,5 @@
1
1
  # Copyright 2020 Camptocamp SA (http://www.camptocamp.com)
2
+ # Copyright 2024 Michael Tietz (MT Software) <mtietz@mt-software.de>
2
3
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
4
 
4
5
  from .test_cluster_picking_base import ClusterPickingCommonCase
@@ -78,15 +79,16 @@ class ClusterPickingScanDestinationPackPrefillQtyCase(ClusterPickingCommonCase):
78
79
  )
79
80
  # Ensure the qty has not changed.
80
81
  self.assertEqual(line.qty_done, previous_qty_done)
81
-
82
+ new_move_line = self.env["stock.move.line"].search(
83
+ [("move_id", "=", line.move_id.id), ("id", ">", line.id)]
84
+ )
85
+ self.assertFalse(new_move_line)
82
86
  expected_qty_done = qty_done
83
87
  self.assert_response(
84
88
  response,
85
89
  next_state="scan_destination",
86
90
  data=self._line_data(line, qty_done=expected_qty_done),
87
- message=self.service.msg_store.bin_not_found_for_barcode(
88
- self.product_b.barcode
89
- ),
91
+ message=self.service.msg_store.wrong_record(self.product_b),
90
92
  )
91
93
 
92
94
  def test_scan_destination_pack_increment_with_packaging(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-shopfloor
3
- Version: 16.0.2.5.0
3
+ Version: 16.0.2.6.0
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)
@@ -36,7 +36,7 @@ Shopfloor
36
36
  !! This file is generated by oca-gen-addon-readme !!
37
37
  !! changes will be overwritten. !!
38
38
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
39
- !! source digest: sha256:86239aacdfa7d7810aca5b0625ebd9112b12385d98899ac696d596b455b0c57d
39
+ !! source digest: sha256:15590a835f281c13f0eae031c50d19d04ab77e94ee95b697d5eabd04373c21ce
40
40
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
41
41
 
42
42
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/shopfloor/README.rst,sha256=ABVzU954zlAGxtjdMbnky8zuB3EvFs29Q2cyxBfRYB8,5318
1
+ odoo/addons/shopfloor/README.rst,sha256=3hKplmB-AMWU6_RI_K4a0RgPmBljXpwkJiI3h-egmbg,5318
2
2
  odoo/addons/shopfloor/__init__.py,sha256=ke3RmZ7XkX-lz4S8NHAxNIEJ5_Nvj5bjBAqD-W-q73c,91
3
- odoo/addons/shopfloor/__manifest__.py,sha256=pVpAMjaFsljMLhAcIlbsTkgoN1WoPPMGTAQl6i_OhV0,2245
3
+ odoo/addons/shopfloor/__manifest__.py,sha256=P0iMMOUCqm10sQWbhO2ukoDxBb5DQqsnEBeZ9kyY6wk,2245
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
@@ -43,11 +43,11 @@ odoo/addons/shopfloor/docs/single_pack_transfer_diag_seq.plantuml,sha256=FuN70hu
43
43
  odoo/addons/shopfloor/docs/single_pack_transfer_diag_seq.png,sha256=LAsRPfPeEB6Db8oNL4r637bi2iXXI7r0HFuOaPK3Z9A,33901
44
44
  odoo/addons/shopfloor/docs/zone_picking_diag_seq.plantuml,sha256=Bu0NkP2HwV24IgTHEYV5uwMikk00vOEAGxK53OG9p9s,3527
45
45
  odoo/addons/shopfloor/docs/zone_picking_diag_seq.png,sha256=_qGnbfsShydA3Xjefaurt45fzlgJ8upf11B9DRv9OB0,185581
46
- odoo/addons/shopfloor/i18n/ca.po,sha256=2vRFtRVfHUIrxUX3Z6w8IeyNkTzrfE5caE9td1M6wpc,60111
47
- odoo/addons/shopfloor/i18n/de.po,sha256=48tW5tgkPNQI35u4yr6MeY898EgLIsWj2WltfoFWUCw,58579
48
- odoo/addons/shopfloor/i18n/es_AR.po,sha256=nWyH3YYSJtdcZWEzvoKiTfqfLTFAb2pA0jIWspMqUtU,81019
49
- odoo/addons/shopfloor/i18n/it.po,sha256=tgE_XLXDDL2NtcESXyHpol-co3uIUHOPWgcYmgzo1s8,82018
50
- odoo/addons/shopfloor/i18n/pt_BR.po,sha256=sXtQtdoHUJOVd3fWiXxQ5uTzCmnHOqAKiHF9xh2pBcU,58581
46
+ odoo/addons/shopfloor/i18n/ca.po,sha256=YVtzCHrzzbRo7v79zX8WcsP6JWHwISDRfzWLzvIo2Fc,60874
47
+ odoo/addons/shopfloor/i18n/de.po,sha256=H4dTHi99hBkkZ-frrKbLgYcWML31Bt5tn0OZrTXp3dE,59342
48
+ odoo/addons/shopfloor/i18n/es_AR.po,sha256=-rX-_qyNaecxwtCEwhVwllJBVmk3jFbPZ-E3ekyfq34,81785
49
+ odoo/addons/shopfloor/i18n/it.po,sha256=DpAb1_s9S-U4Gj8oEx-vuUchNnq-Jn8GNn9X4j5lkvE,83240
50
+ odoo/addons/shopfloor/i18n/pt_BR.po,sha256=h-swd3FV35x-Cn7RbVs1V4e56b2fu6G-j89QI3udbBI,59344
51
51
  odoo/addons/shopfloor/i18n/shopfloor.pot,sha256=OqD3th-CyEFBoex2gI_qww6S0R-3I0GA6opD0fafA_k,59334
52
52
  odoo/addons/shopfloor/migrations/16.0.2.0.0/post-migration.py,sha256=WfXnS5fj_K78VFaUAe0UiNhFX1C8LA0lkh6Zofllvc4,1311
53
53
  odoo/addons/shopfloor/migrations/16.0.2.4.2/post-init_search_move_line_options.py,sha256=OfsDBUUEKtWQOv9pU86edeFlnT2YiPli4PMpv74Q8IY,1176
@@ -74,18 +74,18 @@ odoo/addons/shopfloor/readme/USAGE.rst,sha256=6Of9b6ec7gH1SKhdpBIaavsON0JWBFAzhb
74
74
  odoo/addons/shopfloor/security/groups.xml,sha256=hdLqRUZM_4RQnleinRYhxDxqW4VOI5li4oTsB7m96LQ,578
75
75
  odoo/addons/shopfloor/services/__init__.py,sha256=4lhF0VNx8QosVEZj9QJYgv6oWD0kl9FX80rL5WMrXf4,303
76
76
  odoo/addons/shopfloor/services/checkout.py,sha256=GbkSbmpgYzdBhYw-k2iqCHUHr9P5sJJDKkxddqmcR0k,79693
77
- odoo/addons/shopfloor/services/cluster_picking.py,sha256=v3UduBo5iIUW85nP7JtNFAsFr3LmePvGSK-DXvn_WYI,68221
77
+ odoo/addons/shopfloor/services/cluster_picking.py,sha256=lpAzEDtByYSgZCkZvScYKULe8hlsliZH9A1UMQAd5mw,68729
78
78
  odoo/addons/shopfloor/services/delivery.py,sha256=ko2xre3q-P2LaGd4CMKFWJoavk9QXTI8WKXghf8PoL0,33226
79
79
  odoo/addons/shopfloor/services/location_content_transfer.py,sha256=gn-8W_u2tFT-A69Cot8B6CKG6pFB_21EjC2MYisfDME,49472
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=HuxZZQ5MxnvDtr89HWQW2muuPvEF4vjI9ArdSFeAxg8,4882
83
83
  odoo/addons/shopfloor/services/single_pack_transfer.py,sha256=S9zZ027fclqUBvqqFHMnD1QcbUb_dYyCtWs1E4pOAV4,16120
84
- odoo/addons/shopfloor/services/zone_picking.py,sha256=9JMZNhSiwkw1DWIrBj1dquM-i1NaMzDdqbI_wuTgRjw,83806
84
+ odoo/addons/shopfloor/services/zone_picking.py,sha256=I_yZOR4Xn5loWTQi6Nm65PTb2ARzZNHk7LoU4GdiaUA,83960
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=xtpdUahpJbHpGpJkDST1F39sl_EFXdNA0H7FPcF1kfI,17547
88
+ odoo/addons/shopfloor/static/description/index.html,sha256=yVSAuJbZ8QPag5I_C6Xor2gc60BwinBqMaI1M8vjvgQ,17547
89
89
  odoo/addons/shopfloor/tests/__init__.py,sha256=4WHuLVjOX_lndDJyuyGcreNckArFJL2HA5PPFlhT6FM,3962
90
90
  odoo/addons/shopfloor/tests/common.py,sha256=v1C7DQT-MvTk81xIYyv--c1BaIpwbia2ey8s35nvrK4,11611
91
91
  odoo/addons/shopfloor/tests/models.py,sha256=jNbYUqYLxkbQMn4j8bejHM3l6CRThJBDfpATl8H83OM,939
@@ -123,7 +123,7 @@ odoo/addons/shopfloor/tests/test_cluster_picking_batch.py,sha256=uqNDKYFi2T8fwdW
123
123
  odoo/addons/shopfloor/tests/test_cluster_picking_change_pack_lot.py,sha256=S2fUP545A3TO6xWYFyHvDi4sNnb4UgyTNghUfbQ_TZw,4157
124
124
  odoo/addons/shopfloor/tests/test_cluster_picking_is_zero.py,sha256=VsNhviyfg6uRA6dM6Sv2H2TNBA7_RjEnoJWtvQ9SkHw,3496
125
125
  odoo/addons/shopfloor/tests/test_cluster_picking_scan_destination.py,sha256=ypirEJupF_sdn-nUxXfG2SCkS9LLb8dheYQHCxEbP8k,14381
126
- odoo/addons/shopfloor/tests/test_cluster_picking_scan_destination_no_prefill_qty.py,sha256=XthQeJ2RotcwglQseheeaHOuVl-q28Efo0oMy8k3byc,4267
126
+ odoo/addons/shopfloor/tests/test_cluster_picking_scan_destination_no_prefill_qty.py,sha256=hboVxHXNFqZ0DDTBqUBW9r6Dq428Vq5uj7fgaGIdPAg,4464
127
127
  odoo/addons/shopfloor/tests/test_cluster_picking_scan_line.py,sha256=urAU4AhLX-GCcXqpJEG-mbiy63lXwzbtf4J5jZ-IiaA,15410
128
128
  odoo/addons/shopfloor/tests/test_cluster_picking_scan_line_location_or_pack_first.py,sha256=Gsqq0vOjCg14G5ABk9KbVdZpqYX8SHCzhh-JxuOI0Nk,4440
129
129
  odoo/addons/shopfloor/tests/test_cluster_picking_scan_line_no_prefill_qty.py,sha256=xf2QXXovehcbvmuTek20qbDP4gUiLgPpw8XkFNN3Cds,2905
@@ -187,7 +187,7 @@ odoo/addons/shopfloor/views/shopfloor_menu.xml,sha256=gepRIcpP6xuYypagEfpJm1s9-A
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.5.0.dist-info/METADATA,sha256=OUZe04LW5Zr0laHeMsrM-VGiCAoBXlXhZv8fJc4odNE,6761
191
- odoo_addon_shopfloor-16.0.2.5.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
192
- odoo_addon_shopfloor-16.0.2.5.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
193
- odoo_addon_shopfloor-16.0.2.5.0.dist-info/RECORD,,
190
+ odoo_addon_shopfloor-16.0.2.6.0.dist-info/METADATA,sha256=swGnD-kWIlO0frhPKg_ipcDLFQ9oIvLMCpqq7WfWCBA,6761
191
+ odoo_addon_shopfloor-16.0.2.6.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
192
+ odoo_addon_shopfloor-16.0.2.6.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
193
+ odoo_addon_shopfloor-16.0.2.6.0.dist-info/RECORD,,