summaryrefslogtreecommitdiff
path: root/addons/website/__init__.py
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2020-01-07 10:23:18 +0000
committerSimon Lejeune <sle@openerp.com>2020-01-07 14:47:06 +0000
commit387f199ee7234e25c52c9d6c5900eeb6286751f4 (patch)
tree5fb7cc846a29935a6113e02ae909f4824cc70e92 /addons/website/__init__.py
parentef82574418a6d957b12efe61ab594afe29428ff2 (diff)
[FIX] stock_landed_costs: remaining_value and multiple lc
Steps to reproduce: Create one product with FIFO and automatic inventory valuation. Purchase product with 10 quantity and cost price 100 and mark shipment as done. Add landed cost for done incoming shipment with 2 cost lines E.g. 1. Freight Charges - 100 2. Duty and Charges - 50 So ideally after first outgoing shipment total cost should get updated in product is (1000 + 100 + 50) / 10 which is 115 The issue is that we increment `remaining_value` on the wrong layer. Fixes #41923 task-2167659 closes odoo/odoo#42871 X-original-commit: 8b89a5e4a85071055bc152b11cf150e62a5c5211 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/website/__init__.py')
0 files changed, 0 insertions, 0 deletions