15245a4f1f3bf17c1086646aa3817321ef284f52
Reintroduce remaining_value on the valuation layer. We thought we could get rid of it and only use unit_cost but with tricky receipt value such as 10 for three units it works indeed better. Increment remaining_value when applying a landed cost, don't use this field anywhere else than _run_fifo. It's a shame we have to edit in place the value of a layer while we were able to keep them as they were everywhere else... There still an imprecision sometimes due to the representation of float and their way through currency.round (see test_rounding_2) so we also call currency.round on the computed field value_svl to get a real 0 value. task-2057877 closes odoo/odoo#36013 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%