diff options
| author | William Henrotin <whe@odoo.com> | 2020-09-14 08:49:20 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2020-09-29 09:21:05 +0000 |
| commit | 569d43790e2c2e11458669582c724e2e2ad64a70 (patch) | |
| tree | 15073b5127a81fc54f2cf952a80ef1ebb488cd74 /addons/web/static/src/js/views/basic | |
| parent | 4a8239c86e3fdf2830bd4f52d2424fe0f83d4639 (diff) | |
[FIX] stock_account: empty move valuation
The validation of a stock move without quantity done create an empty
stock valuation layer. This is not a wanted behavior as :
1. it create record without useful information (0 value, 0 remaining
qty, 0 remaining value)
2. The landed cost value is set on a wrong layer in case of complete
backorder.
This commit bypass the valuation process on a move if it is validated
without any quantity.
opw : 2328258
closes odoo/odoo#58770
X-original-commit: 01e21735dbf3ac2fe975323cee2f4bb93e4ca747
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
