diff options
| author | Rémy Voet (ryv) <ryv@odoo.com> | 2020-03-04 10:25:57 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2021-01-27 10:01:54 +0000 |
| commit | 80811df234880621c0a3f71f7f43f512f8e9f709 (patch) | |
| tree | 73d3f38031139f5e92656dcdb2884587df1c2a20 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | da487e9e3806282dbeb436142394a01fd9c5993a (diff) | |
[FIX] stock_account: fix valuate empty stock.
To reproduce, product A in AVCO:
- Buy 2 product A at 1.00 $
- Buy 1 product A at 1.01 $
- Sell 3 product A.
- The stock valuation won't be correct: still remain 0.01 in
stock without quantity and the svl related to the sell
have a value of 3.00 (instead of 3.01)
To fix:
In case of AVCO, add the rounding error value to the out
stock move layer.
closes odoo/odoo#65103
X-original-commit: f6b019fcfdd35a693e8af43ae38d10e31e96284a
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
