summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/debug_manager.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2017-05-04 16:49:03 +0200
committerGoffin Simon <sig@odoo.com>2017-05-10 15:14:57 +0200
commit508e5ed9dd603c38912dacd7774cfb420df58ee0 (patch)
tree00506c7048a3c91ca18981912681a2946078cf2a /addons/web/static/src/js/widgets/debug_manager.js
parenta1aed26d52b65dea455363c4e8c790014e1c9ddd (diff)
[FIX] stock: PO line with unit_price = 0 and cost_method = 'real' or 'average'
Let's consider the stockable product P with an internal category set with cost_method = 'real' and 'average'. When creating a PO with P and a unit_price=0, after delivering the product, the cost transfered to the stock valuation account was equal to the product cost multplied by the product quantity instead of the unit_price set on the PO multiplied by the quantity. PS: The quant is created with the stock.move in _quant_create_from_move and the unit_price set on the stock.move is taken with function get_price_unit. opw:740865
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
0 files changed, 0 insertions, 0 deletions