diff options
| author | Simon Lejeune <sle@openerp.com> | 2018-01-19 11:06:19 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-01-19 13:00:55 +0100 |
| commit | b95cabef0b4478845a318edf86f0705a8c2907fa (patch) | |
| tree | 51e3a16a82b78e008ea330916ea65afe8c3cfe4f /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 2f95cfb8ed2a2e4dda2aee4f1f6f003587f9005c (diff) | |
[FIX] stock: cancel moves before creating the extra ones
- enable the sublocations
- create an immediate transfer
- add a move of product 1
- save
- add a move line on the move
- create a new move of product 1 without adding any move line to it
- validate
- traceback (record has been deleted)
This is caused by the fact that we loop on `moves` and the
`_create_extra_move` can trigger a merge of move contained by `moves` ;
according to the order of the record in the recordset, we can try to
access a field on a now unlinked move.
Fixes #22356
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
