summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-11-04 18:12:45 +0100
committerOlivier Dony <odo@openerp.com>2013-11-04 18:12:45 +0100
commita6ca3b043fd898cfcb714b3fb4d24b9377e8d00c (patch)
tree2f8eac0a4c66fddbf16065c5f8e454a30b46bf45 /addons/web/static/src/js/data.js
parent5f56739c1b3f24b0e50dc40cac16db17ed1e0030 (diff)
[FIX] stock: programming error in average price computation for multiple lines of the same product
While processing a picking we must keep track of previously processed lines as they modify the stock on hand but are not yet included in the `qty_available` function. Negative stock on hand is handled as if the stock was zero as far as the average price computation is concerned. bzr revid: odo@openerp.com-20131104171245-z1lgsplyu4cdz9gc
Diffstat (limited to 'addons/web/static/src/js/data.js')
0 files changed, 0 insertions, 0 deletions