odoo-addon-stock-barcodes 16.0.1.0.1__py3-none-any.whl → 16.0.1.0.2__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:9517dbf78ae4ec1063540e782c415f191e67741633feb0ab5641c9cbb86d7761
10
+ !! source digest: sha256:aa576b807bb7f515fb71daeb5f366e933922f5884012a45ece0de623b7b53216
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": "16.0.1.0.1",
6
+ "version": "16.0.1.0.2",
7
7
  "author": "Tecnativa, " "Odoo Community Association (OCA)",
8
8
  "website": "https://github.com/OCA/stock-logistics-barcode",
9
9
  "license": "AGPL-3",
@@ -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:9517dbf78ae4ec1063540e782c415f191e67741633feb0ab5641c9cbb86d7761
370
+ !! source digest: sha256:aa576b807bb7f515fb71daeb5f366e933922f5884012a45ece0de623b7b53216
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/stock-logistics-barcode/tree/16.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-16-0/stock-logistics-barcode-16-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=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
373
  <p>This module provides a barcode reader interface for stock module.</p>
@@ -69,7 +69,18 @@ class WizStockBarcodesReadTodo(models.TransientModel):
69
69
  self.state = "done_forced"
70
70
  self.line_ids.barcode_scan_state = "done_forced"
71
71
  for sml in self.line_ids:
72
- if sml.reserved_uom_qty != sml.qty_done and sml.move_id.state != "waiting":
72
+ if (
73
+ float_compare(
74
+ sml.reserved_uom_qty,
75
+ sml.qty_done,
76
+ precision_rounding=sml.product_uom_id.rounding,
77
+ )
78
+ == 0
79
+ ):
80
+ continue
81
+ if sml.move_id.state == "confirmed" and sml.qty_done:
82
+ sml.move_id.state = "partially_available"
83
+ if sml.move_id.state in ["partially_available", "assigned"]:
73
84
  sml.reserved_uom_qty = sml.qty_done
74
85
  if self.is_extra_line or not self.is_stock_move_line_origin:
75
86
  barcode_backorder_action = self.env.context.get(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-stock_barcodes
3
- Version: 16.0.1.0.1
3
+ Version: 16.0.1.0.2
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)
@@ -23,7 +23,7 @@ Stock Barcodes
23
23
  !! This file is generated by oca-gen-addon-readme !!
24
24
  !! changes will be overwritten. !!
25
25
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
26
- !! source digest: sha256:9517dbf78ae4ec1063540e782c415f191e67741633feb0ab5641c9cbb86d7761
26
+ !! source digest: sha256:aa576b807bb7f515fb71daeb5f366e933922f5884012a45ece0de623b7b53216
27
27
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
28
 
29
29
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/stock_barcodes/README.rst,sha256=WT4IwKjDmutpB8eUIn6HgXOJu0Qn9EUnR3uIOdKzBm4,7000
1
+ odoo/addons/stock_barcodes/README.rst,sha256=3kDzDZH3zHZ5aAPWcCmqf5hpqej9vz_aPKMkK34Hcjo,7000
2
2
  odoo/addons/stock_barcodes/__init__.py,sha256=GJDFROBciW9KNOlikIfV-4Gu8TPCJRp8ZWZCxngbDtI,206
3
- odoo/addons/stock_barcodes/__manifest__.py,sha256=3w4qIz3eXB5onCg_peUvWUv825w5lanAJzl_YVPaPUk,1659
3
+ odoo/addons/stock_barcodes/__manifest__.py,sha256=mC8CUro-7bri87-ymRW9gPjw20WNK1hSoQ0bFkqeIdw,1659
4
4
  odoo/addons/stock_barcodes/hooks.py,sha256=3xcCKDae0aUjvq5oUecBGUgJ5rdTtN_p4CtXvtZhbzA,679
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=MZU_hpOxL-QDsmRlMmB4k9-pBkBi516Y1_vkixtSLvI,20659
@@ -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=1HlTnJb0Bsbl-UCdoy-f7r7Xec3UMs7uTppQWOfH8-0,1337
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=1r7wQ6vI_xCoJ74QaNy3_-KNEz4l8ubpeqV9F25_lwU,19151
27
+ odoo/addons/stock_barcodes/static/description/index.html,sha256=lpFJulSph9O-B6WdfCLonrhczK-_mUeBmQjKmSEf6Bw,19151
28
28
  odoo/addons/stock_barcodes/static/src/css/stock.scss,sha256=kSjiQyBTIFohLk-tTlux1GVXYiKdijzFrlONQNorlbs,2914
29
29
  odoo/addons/stock_barcodes/static/src/img/scan.png,sha256=DIN3r_B9kzMGmeRpqSx8K0S7RO8_FEwZudxGUYIPqSM,5405
30
30
  odoo/addons/stock_barcodes/static/src/sounds/bell.wav,sha256=s8_EchNk9OuAZzpZljON8IEAcKjmMD9yXZorizse24I,17684
@@ -56,12 +56,12 @@ odoo/addons/stock_barcodes/wizard/stock_barcodes_read_inventory.py,sha256=72PrWz
56
56
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_inventory_views.xml,sha256=OSksXA_keRZM4xvnmwaSKBMrY1ZWfl2iOXLlBpKpIrI,10036
57
57
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_picking.py,sha256=uQhDD5YJ0vroYCB9rgUCx7iAiOKi3OrqRAxxcieQhtU,44259
58
58
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_picking_views.xml,sha256=O-zF3GbCRWq2AdO0djmwuIS33y7j-h10rqoN3S4m2d4,24343
59
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read_todo.py,sha256=xLvXHyt-WdpZshBO5nx8EmFUClFJFBPW7e8c9hPhWTQ,6400
59
+ odoo/addons/stock_barcodes/wizard/stock_barcodes_read_todo.py,sha256=_RqzmmcJ4xStRhyFaHo7BCpebC_DkBEqrlajzmClW60,6780
60
60
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_todo_view.xml,sha256=84r_uF6FAaKq9R7I81Boomp3o7VuMYHeuo-ebwTyolY,12551
61
61
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_views.xml,sha256=-JiHxJ0E36Ll_UwACLzbYHz2jiwolx5xJbPDp_3QqYc,31778
62
62
  odoo/addons/stock_barcodes/wizard/stock_production_lot.py,sha256=LXb8IykNsU6fHNzm6exiD2oyLmFdjrhnv9Z7ixDihWI,2195
63
63
  odoo/addons/stock_barcodes/wizard/stock_production_lot_views.xml,sha256=MPR5_1Hieceb4a3klAQiLojMm4SBHEOF-8Ad3fBtaaE,1977
64
- odoo_addon_stock_barcodes-16.0.1.0.1.dist-info/METADATA,sha256=1R5Eyb4RxRZExi3b8Y1IuT_M_zt6ctxzAqhNPg_iSos,7612
65
- odoo_addon_stock_barcodes-16.0.1.0.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
66
- odoo_addon_stock_barcodes-16.0.1.0.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
67
- odoo_addon_stock_barcodes-16.0.1.0.1.dist-info/RECORD,,
64
+ odoo_addon_stock_barcodes-16.0.1.0.2.dist-info/METADATA,sha256=mRXKE1Es9seJ9pkSOS4urQvkDBq25UandByUh7iE8M0,7612
65
+ odoo_addon_stock_barcodes-16.0.1.0.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
66
+ odoo_addon_stock_barcodes-16.0.1.0.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
67
+ odoo_addon_stock_barcodes-16.0.1.0.2.dist-info/RECORD,,