summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/form_common.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2015-11-25 11:31:00 +0100
committerNicolas Martinelli <nim@odoo.com>2015-11-25 16:09:16 +0100
commit39f8b5aff77ad91e38101c17ff55f977ece5cb06 (patch)
tree644ce408c26cc0b9cc997931755c27d3a64be838 /addons/web/static/src/js/views/form_common.js
parent1b714bdc6ce75f856509548f2190d4e643186d58 (diff)
[FIX] stock: error if not assigned
When the user validates a picking without going through the manual reservation process, Odoo tries to assign the picking then performs the transfer. However, if the picking could not be assigned, no pack operation is created and the picking will simply be set to done. The fix raises an error if the picking could not be assigned completely. Another solution is to use a force_assign instead of action_assign, but that could lead to the creation of negative stock moves without warning the user. We therefore prefer to stay on the safe side and force the user to manually handle the reservation. Note: the original issue was that the Owner of the picking was not copied on the quant when validating right away. The reason was that no pack operation was created. opw-654423
Diffstat (limited to 'addons/web/static/src/js/views/form_common.js')
0 files changed, 0 insertions, 0 deletions