summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-01-22 09:06:44 +0000
committerNicolas Martinelli <nim@odoo.com>2019-01-22 09:28:34 +0000
commitac270d63adee08128deea19286651b12bf73a91a (patch)
treed5e4398ecaf851d1596c624faa8404530f6c5ad1 /addons/web/static/src/js/views/basic/basic_model.js
parent15520c8e585c65344faba4f63e8eb34a63f20998 (diff)
[FIX] stock_account: Average Cost
- Create a product where the associated product category has Costing Method "Average Cost (AVCO)" - Create a PO. Order: 2 units at 40 4 units at 35 - Receive the picking The cost of the product is set at 35 (or 40, depending on the order of the lines in the PO). Since we are in a situation where the available quantity is zero, we enter in the `if float_is_zero...` condition, where the `qty_done` is not set. We should set it in all cases. opw-1907328 closes odoo/odoo#30422
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions