summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-09-12 14:10:59 +0200
committeramoyaux <arm@odoo.com>2017-09-18 15:04:14 +0200
commit5d7e6dfad5a6e21a68c0c306073004eefa503458 (patch)
treef6f366cebd74283a9c436239b8fa42119664d7ef /addons/web/static/src/js/views/basic/basic_controller.js
parentccea0b788d74bb7fc93205547b1752251e064932 (diff)
[IMP] stock: merge moves
The rationale for the need of a merge move mechanism is that, with the new default view, having multiple stock move for the same products is confusing. The idea is that if a move is confirmed in a picking already having a move with the same characteristics, we update the existing move and unlink the new one. That’s why it’s done at the end of `_action_confirm`. In some cases, merging moves is unwanted (backordered moves for examples). Therefore, we chose to add a kwarg to `_action_confirm` in order do control the mechanism.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions