diff options
| author | Simon Lejeune <sle@openerp.com> | 2019-12-11 10:37:11 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-12-30 09:01:17 +0000 |
| commit | b08585e071378a8e46f0d9d8d936993c3ea11129 (patch) | |
| tree | 7228928d2ede0f6ba90a2e43b8facb1eb9d17c8c /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 7c0db16643341479a6826aa6017a2870e6d6865c (diff) | |
[FIX] stock_account: negative stock and vacuum
Running the vacuum in avco indeed fixed the estimated value on the
delivery but it did not update the standard price afterwards, making it
possible to have an inconsistent standard price with the actual value in
stock, as described in [0] and in the task [1].
A test was added (and validated) in the layers test file and an two old
one were fixed. test_average_perpetual_2 displayed also a different
missing bit: the vacuum should run when the user unlock and increments a
receipt.
[0] https://github.com/odoo/odoo/pull/41669
[1] 2154638
closes odoo/odoo#42292
X-original-commit: 6e4c9b8219db0c94c29f5ee145998e6f1597bb55
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
