summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2018-03-05 11:23:55 +0100
committerArnold Moyaux <arm@odoo.com>2018-03-05 16:07:01 +0100
commit476b45eb9cec59c24f330ec7e784feaeca26f0ae (patch)
tree176086e87a2a1008f1d5f2cd448df4026a649820 /addons/web/static/src/js/views/basic/basic_controller.js
parent599f6a762e91dd08d093243684183cdb9a3b3513 (diff)
[FIX] stock: scheduler run cancel MTO picking
Use case to reproduce: - Create a sale order with a stockable product. - Confirm the sale order. - Validate the pick. - Validate the pack. - Cancel the OUT. - Run the stock scheduler. -> Picking are created from pick and ship. The scheduler should not try to create missing pickings for broken move's chain. Since v11, it's not possible to create a partial mto chain that means if a chain is broken it's due to a manual action from a user and thus we won't automatically repair what he cancelled on purpose. That's why we won't create a new move out in this case. It also don't make sense to recreate a new mto chain from a cancelled picking. Thus we had a condition in domain in order to only take moves that make sense. Based on preliminary work from Florent de Labarre <florent.mirieu@gmail.com> Closes #23441 #23458 OPW-1820226
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions