summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-11-19 10:14:35 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-11-23 11:51:28 +0000
commitf03311815b970a4548dcdb1c39d00f224a5d6ae9 (patch)
tree8c90a046c6000635528be473c48b3309f80b430d /addons/web/static/src/js/views/basic/basic_model.js
parenta0ddd894f3b85490b8b1aff9a4bce287766dfd83 (diff)
[FIX] stock: fix quantity on return chain
Create a sale order for a stored product, save and confirm. Validate delivery Return and validate. Return (the return, so delivery again) and validate. Try return again. The quantity to return in the widget will be 0. Attempting to fix manually will worsen the situation creating negative quantities on further action. This occur because when creating the return the system tries to identity other sibling return moves to set the correct quantity This commit fine tunes 73de0645b730e1f1183b7c770e878b4c4ff1e0f1 aiming to collect quantities only on actual sibling returns (moves sharing the same parent) opw-2379663 closes odoo/odoo#62165 X-original-commit: fe8c6db1323061f3e6a0fd3f8b294ea6ddb86acf Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com> Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions