summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2020-06-19 06:43:46 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2020-06-19 13:49:11 +0000
commitdd7d8cd43ae17d634b9f0dc07f78c88d39eb1008 (patch)
treedd5795bca5c6287186ad6816a0ea177749385e3f /addons/web/static/src/js/views/basic/basic_controller.js
parentbdcad21ccc3b9ff5110230440eb2aa5e18e13ffa (diff)
[FIX] stock: clean lot when put in pack
- Create a product with traceability per LOT enabled and a barcode; - Enable the option “Delivery Packages” in the inventory settings; - Go to "Barcode" app; - Scan EAN, the product line will be selected; - Scan a LOT, a unit of quantity is incremented at each time the LOT is scanned; - Put in Pack; - Scan again the same EAN to register the next LOT, the product line will be selected with remaining quantities; - Scan a new LOT number. Before this commit, as the product line will remain with the old LOT number, when the new LOT number is scanned a new line is created. This line will miss the initial quantity and the quantities added to this new line will not decrement the original line quantity. Now, the old LOT number is clean when the Put in Pack function is called. opw-2270781 closes odoo/odoo#53337 X-original-commit: 01bf263acbe406d45a4b7a5358bdcdfb70c1d9ed Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions