summaryrefslogtreecommitdiff
path: root/addons/barcodes/static/src/js/form_view_barcode_handler.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2016-03-16 15:49:45 +0100
committerGoffin Simon <sig@odoo.com>2016-03-18 09:38:15 +0100
commit40248d77ffb37940cb83718a1cae41959e2e8450 (patch)
tree4b6bdcd9a24b8918601574fa19611017095e930a /addons/barcodes/static/src/js/form_view_barcode_handler.js
parent14fd46c0d59dbb0365019a21bf1263b17ab99dbb (diff)
[FIX] stock: Wrong error when you work with lot owner
When a stock move was created in a picking with a product set with a unique serial number existing in the stock of a specific owner. If the owner was not specified for the stock move then a wrong message was raised "The serial number 00005 is already in stock.". But the real problem could come from function quants_get_preferred_domain which didn't find the existing quant due to the fact that the system didn't check in the right stock(owner). A new quant was then created with the existing serial number. And a wrong message was raised. opw:671783
Diffstat (limited to 'addons/barcodes/static/src/js/form_view_barcode_handler.js')
0 files changed, 0 insertions, 0 deletions