Browse Source

Oct 8 [UPDT] Updated 'inventory_barcode_scanning'

pull/345/merge
AjmalCybro 7 months ago
parent
commit
5569a7ea4c
  1. 2
      inventory_barcode_scanning/__manifest__.py
  2. 6
      inventory_barcode_scanning/doc/RELEASE_NOTES.md
  3. 2
      inventory_barcode_scanning/models/stock_picking.py

2
inventory_barcode_scanning/__manifest__.py

@ -21,7 +21,7 @@
{ {
'name': 'Barcode scanning in Inventory', 'name': 'Barcode scanning in Inventory',
'version': '16.0.1.0.0', 'version': '16.0.1.0.1',
'live_test_url': 'https://www.youtube.com/watch?v=ylSHZVbajoE&feature=youtu.be', 'live_test_url': 'https://www.youtube.com/watch?v=ylSHZVbajoE&feature=youtu.be',
'summary': 'Barcode Support in Stock Picking.', 'summary': 'Barcode Support in Stock Picking.',
'author': 'Cybrosys Techno solutions', 'author': 'Cybrosys Techno solutions',

6
inventory_barcode_scanning/doc/RELEASE_NOTES.md

@ -5,4 +5,10 @@
#### ADD #### ADD
Initial commit for Barcode scanning in Inventory Initial commit for Barcode scanning in Inventory
#### 07.10.2024
#### Version 16.0.1.0.1
#### BUGFIX
- Bug Fix: Quantity increased while saving the record after updating the barcode.

2
inventory_barcode_scanning/models/stock_picking.py

@ -59,7 +59,7 @@ class StockPicking(models.Model):
if vals.get('barcode') and self.move_ids_without_package: if vals.get('barcode') and self.move_ids_without_package:
for line in self.move_ids_without_package: for line in self.move_ids_without_package:
if line.product_id.barcode == vals['barcode']: if line.product_id.barcode == vals['barcode']:
line.quantity_done += 1 # line.quantity_done += 1
self.barcode = None self.barcode = None
return res return res

Loading…
Cancel
Save