summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-09-07 17:42:39 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-09-19 08:04:43 +0200
commit2aa5c812483296e00de21e343c8fbdb9857a9a6e (patch)
tree11b0724820486f846654dae449a6f49d5d16097e /doc/reference/javascript_reference.rst
parent0b9d4643ec8a4a235cfea0036fb1d874eadc6d71 (diff)
[FIX] stock_landed_costs: do not prorate
- Set the product A in FIFO, real-time valuation - Receive 5 units @ 2000 each - Create a landed cost of 1000, apply on the picking => the cost of A is 2200 - Sell one unit - Create another landed cost of 1000, apply on the same picking The cost of A is 2360, while one expects 2400. The value of the move after the second landed cost is computed as: value = previous value + prorata of landed cost 2 = 11000 + (1000 * 4/5) = 11800 This is not correct. The whole value of the second landed cost should be taken into account for the `value` field. The prorata is only useful for the field `remaining_value`. opw-1878229
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions