summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorfw-bot <otis@odoo.com>2020-02-13 14:01:49 +0000
committerSimon Lejeune <sle@openerp.com>2020-02-17 14:55:04 +0000
commit0494e6763f3cdb325b0e5bf6f46934548cf36067 (patch)
treea61688c8b12c49d30c49aae2b0ca22c8ece67897 /addons/web/static/src/js/views/basic/basic_controller.js
parent260b6f073146155bc681e529b62307a8b0c7d1d5 (diff)
[FIX] stock: immediate transfer
Create an immediate transfer for a receipt, add a move, set a quantity done and due to rev[0], an initial demand is set, then _autoconfirm_picking is called and action_confirm of picking calls _action_assign if the location source bypasses the reservation. Set again an inferior qty_done, the initial demand is also updated due to rev[0] and somehow the system tries to write on a now unlinked move line. fixes - never reserve an immediate transfer - never update the initial demand if the move is reserved to fix the existing databases. - adapt _compute_state so that immediate transfer moves considered reserved so that they're always "ready" - adapt the test that was working on an immediate transfer picking and setting the initial demand while it's not possible through the interface, the user can only set the done quantity. [0] 8303b1a closes odoo/odoo#45317 X-original-commit: 357e0a862744f1bc23a9643a1822d2ee4a2eb7a2 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