diff options
| author | Arnold Moyaux <arm@odoo.com> | 2018-02-07 09:51:49 +0100 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-03-02 11:28:22 +0100 |
| commit | 738888fc307b541eeee1c382ddee61af6450ed1a (patch) | |
| tree | 01b5dab24e80a60b15df7537383318cdf53d6104 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 004ec9d994cf24efe74b58cdd65288ef5659378b (diff) | |
[FIX] stock: cancel a move line in planned transfer
Use case to reproduce
- Create a planned transfer with 2 move lines (details operations)
- Leave the form view in order to lose the context then go back on the picking form view
- Delete a move line and save
The picking state change from draft to ready
It happens because planned_transfer is not in the context
then the autoconfirm is triggered.
This commit only autoconfirm if there's at least an intial demand in one of the move.
Closes #22834
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
