odoo-addon-stock-barcodes 15.0.3.1.3__py3-none-any.whl → 15.0.3.1.5__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 @@ Stock Barcodes
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:2d802461d265d519b51c1d19b91db5c2806f3afe564ebf9e17b0e216f7e549cc
10
+ !! source digest: sha256:2cb108800d4184b951795fa6c906ec0d63a06035061daad42aca10893c49a5be
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -3,7 +3,7 @@
3
3
  {
4
4
  "name": "Stock Barcodes",
5
5
  "summary": "It provides read barcode on stock operations.",
6
- "version": "15.0.3.1.3",
6
+ "version": "15.0.3.1.5",
7
7
  "author": "Tecnativa, " "Odoo Community Association (OCA)",
8
8
  "website": "https://github.com/OCA/stock-logistics-barcode",
9
9
  "license": "AGPL-3",
@@ -65,7 +65,8 @@ class StockPicking(models.Model):
65
65
  # In normal conditions backorder will be created
66
66
  create_backorder = True
67
67
  if not move.move_line_ids or any(
68
- sml.state in ["pending"] for sml in move.move_line_ids
68
+ sml.barcode_scan_state in ["pending"]
69
+ for sml in move.move_line_ids
69
70
  ):
70
71
  # If any move are not processed we can not skip backorder
71
72
  skip_backorder = False
@@ -366,7 +366,7 @@ ul.auto-toc {
366
366
  !! This file is generated by oca-gen-addon-readme !!
367
367
  !! changes will be overwritten. !!
368
368
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:2d802461d265d519b51c1d19b91db5c2806f3afe564ebf9e17b0e216f7e549cc
369
+ !! source digest: sha256:2cb108800d4184b951795fa6c906ec0d63a06035061daad42aca10893c49a5be
370
370
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-barcode/tree/15.0/stock_barcodes"><img alt="OCA/stock-logistics-barcode" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--barcode-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-barcode-15-0/stock-logistics-barcode-15-0-stock_barcodes"><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-barcode&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
372
  <p>This module provides a barcode reader interface for stock module.</p>
@@ -613,19 +613,15 @@ class WizStockBarcodesReadPicking(models.TransientModel):
613
613
  ).state = "assigned"
614
614
  # When create new stock move lines and we are in guided mode we need
615
615
  # link this new lines to the todo line details
616
- if self.option_group_id.barcode_guided_mode == "guided":
617
- # If user scan a product distinct of the todo line we need link to other
618
- # alternative move
619
- if move_to_link_in_todo_line:
620
- todo_line = self.todo_line_id
621
- else:
622
- todo_line = self.todo_line_ids.filtered(
623
- lambda ln: ln.product_id == self.product_id
624
- )
625
- todo_line.line_ids = [(4, sml.id) for sml in stock_move_lines]
626
- elif self.option_group_id.show_pending_moves:
627
- # TODO: Check performance with a lot records
628
- self.fill_todo_records()
616
+ # If user scan a product distinct of the todo line we need link to other
617
+ # alternative move
618
+ if move_to_link_in_todo_line and self.todo_line_id:
619
+ todo_line = self.todo_line_id
620
+ else:
621
+ todo_line = self.todo_line_ids.filtered(
622
+ lambda ln: ln.product_id == self.product_id
623
+ )
624
+ todo_line.line_ids = [(4, sml.id) for sml in stock_move_lines]
629
625
  self.update_fields_after_process_stock(moves_todo)
630
626
  return move_lines_dic
631
627
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-stock-barcodes
3
- Version: 15.0.3.1.3
3
+ Version: 15.0.3.1.5
4
4
  Summary: It provides read barcode on stock operations.
5
5
  Home-page: https://github.com/OCA/stock-logistics-barcode
6
6
  Author: Tecnativa, Odoo Community Association (OCA)
@@ -24,7 +24,7 @@ Stock Barcodes
24
24
  !! This file is generated by oca-gen-addon-readme !!
25
25
  !! changes will be overwritten. !!
26
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
- !! source digest: sha256:2d802461d265d519b51c1d19b91db5c2806f3afe564ebf9e17b0e216f7e549cc
27
+ !! source digest: sha256:2cb108800d4184b951795fa6c906ec0d63a06035061daad42aca10893c49a5be
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
29
 
30
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/stock_barcodes/README.rst,sha256=HG76Oxii4mosKAy3WqYrsytVqi6TqdqH9l1oUqAMXJI,7000
1
+ odoo/addons/stock_barcodes/README.rst,sha256=N-f3xYdVwqj2aFMSeAtqzspvKjuH1XmMoNbjFrC3BDo,7000
2
2
  odoo/addons/stock_barcodes/__init__.py,sha256=GJDFROBciW9KNOlikIfV-4Gu8TPCJRp8ZWZCxngbDtI,206
3
- odoo/addons/stock_barcodes/__manifest__.py,sha256=6JuzaiAws-XJgECShDuZgbBIiOqa1G4MUPNLuXVs9SM,1721
3
+ odoo/addons/stock_barcodes/__manifest__.py,sha256=qzPzAh-jVtz0B-i8ZOIyAbbV2HOvG0p8vdoRifJf14Q,1721
4
4
  odoo/addons/stock_barcodes/hooks.py,sha256=XramAPbWa-q40rEpW_LmnNpnF-aMd_WseYb_kyG3ntQ,525
5
5
  odoo/addons/stock_barcodes/data/stock_barcodes_action.xml,sha256=BYvm7V39dkqfLPCtNVpYKzqinOaIuRGCjTz9Fo5U3m4,1889
6
6
  odoo/addons/stock_barcodes/data/stock_barcodes_option.xml,sha256=gBDOLurvDcRlBRg7Ni2_Uk_an9uJOpRM55LiRl9u7aA,20711
@@ -13,7 +13,7 @@ odoo/addons/stock_barcodes/models/stock_barcodes_action.py,sha256=fz-Ua705YkuVXK
13
13
  odoo/addons/stock_barcodes/models/stock_barcodes_option.py,sha256=CNkfNdD9q28Lewf-kMi6VlwMSzTdMc2oocwPO1y7MoA,4924
14
14
  odoo/addons/stock_barcodes/models/stock_barcodes_read_log.py,sha256=MXm4gKUDjmS8SoM-ZB5hb4NH6p9SdCo2vebinzP9270,2084
15
15
  odoo/addons/stock_barcodes/models/stock_move_line.py,sha256=rMdeYBdpjLUSI7YZmu11Irfy8eEmS-AerU_WBxc6-7M,1815
16
- odoo/addons/stock_barcodes/models/stock_picking.py,sha256=Fo0x661lxXW-oyfDBn1K7lW7wfXXFNpDieDMx-6Trnw,3612
16
+ odoo/addons/stock_barcodes/models/stock_picking.py,sha256=KxBHKmTgYIo9FnqPNr_OOiFZM3KNMvW6QJAcmudLRos,3649
17
17
  odoo/addons/stock_barcodes/models/stock_picking_type.py,sha256=jtF5GHtE4iapX33hhLKIXyyNsMsmYADYlXDD29bXQSY,2795
18
18
  odoo/addons/stock_barcodes/models/stock_quant.py,sha256=2QdFE59Evu-9zyNVa8XUxPp4pOf2oGvldG3w_x5PItY,1038
19
19
  odoo/addons/stock_barcodes/readme/CONTRIBUTORS.rst,sha256=YwIWfY0nMK40FKKAJnRLWWlTZIJmEQtfr1mq3dAuWWc,317
@@ -24,7 +24,7 @@ odoo/addons/stock_barcodes/readme/USAGE.rst,sha256=I3vBT7ih0lReN147-tDO6imDTuHWs
24
24
  odoo/addons/stock_barcodes/security/ir.model.access.csv,sha256=GUAIZrn35Oh4aTIr7qJmtrWwNg8BvP1avdIzQhiOPIE,1584
25
25
  odoo/addons/stock_barcodes/static/description/icon.png,sha256=7ksDD35buxE_kBLoeXUGbdSW_5n-LC4S-SnQSs9tz1A,2994
26
26
  odoo/addons/stock_barcodes/static/description/icon.svg,sha256=aMrHV2Isu4t_jJlnLVYqbcL_icg9wT2eSSAKxQ3pgDA,69299
27
- odoo/addons/stock_barcodes/static/description/index.html,sha256=f2ppVFTB9HHcBekhhegn8IXhzDlBYWU6YsXHOiH75Z0,19068
27
+ odoo/addons/stock_barcodes/static/description/index.html,sha256=yqWC_KMO1SdEbaBTwmiTiG62BptX1YKvBj5gevDSJ48,19068
28
28
  odoo/addons/stock_barcodes/static/src/css/stock.css,sha256=6U9n2kttW8cXYWMU04eEtHmY6-7Bcn3o1LAMCpC5J3c,121
29
29
  odoo/addons/stock_barcodes/static/src/css/stock.scss,sha256=w8oMsOijg8cwC5uDefUr-PFMHB_NNMgK3roONAK5OLY,1984
30
30
  odoo/addons/stock_barcodes/static/src/img/scan.png,sha256=DIN3r_B9kzMGmeRpqSx8K0S7RO8_FEwZudxGUYIPqSM,5405
@@ -49,14 +49,14 @@ odoo/addons/stock_barcodes/wizard/__init__.py,sha256=uUoIvaVAJWYetOqNRsGyYFjsBfM
49
49
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read.py,sha256=dApXAQdEp3Al0OSNVyCbzldrApWjGpurDwdN5hDugMY,32873
50
50
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_inventory.py,sha256=OA4v2gPdiKhLReQ4ZjHTTIq_xUQbbRrERTU8JZuwR9k,5089
51
51
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_inventory_views.xml,sha256=98XV32z771eWTeAgZ19NsL9_UOJroFJr9WqSpLDI8j4,10179
52
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read_picking.py,sha256=kfkA8P3YnDLjJqRAjytrqin9INGTNithA9IOlwndo3o,37672
52
+ odoo/addons/stock_barcodes/wizard/stock_barcodes_read_picking.py,sha256=6ntI87rE29xX8oE7IqnwMjbHyjBUq0OOQi4rIQZdbl0,37429
53
53
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_picking_views.xml,sha256=Uujl1HPGfPF9sQWDVU6idODk821d4j8jaSuCLRRdtxs,23185
54
54
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_todo.py,sha256=JlfkQ4ypkZjFAvG89_fBwODVSBcZW7KDJs484d-mrug,9480
55
55
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_todo_view.xml,sha256=DOZKGojUd9LE0Gq2z5IRRtabx5a5i6XKBC_TXlNXPg4,9347
56
56
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_views.xml,sha256=bC_08j8ZLT81iFhKhPGEb8nD6RlpT-ZfykUkvpCHjgs,33375
57
57
  odoo/addons/stock_barcodes/wizard/stock_production_lot.py,sha256=-xxa2_y0Ln3THilCi5DZpauTesdtiRp9SIZiTFHff9k,2217
58
58
  odoo/addons/stock_barcodes/wizard/stock_production_lot_views.xml,sha256=rsX8DUnwQVkGFfGcsYcrsfkgCh5JGmiO3BrSJilIhJc,2056
59
- odoo_addon_stock_barcodes-15.0.3.1.3.dist-info/METADATA,sha256=pC0Cmbpmbb8zC9UWPvMzL9dVqkpG7Ev95MuhpAHnhbM,7633
60
- odoo_addon_stock_barcodes-15.0.3.1.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
61
- odoo_addon_stock_barcodes-15.0.3.1.3.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
62
- odoo_addon_stock_barcodes-15.0.3.1.3.dist-info/RECORD,,
59
+ odoo_addon_stock_barcodes-15.0.3.1.5.dist-info/METADATA,sha256=qdmgXSua-HJe-k8_OaRJYmmup16d2gD-nMQRLU-DO5I,7633
60
+ odoo_addon_stock_barcodes-15.0.3.1.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
61
+ odoo_addon_stock_barcodes-15.0.3.1.5.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
62
+ odoo_addon_stock_barcodes-15.0.3.1.5.dist-info/RECORD,,