summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2018-02-07 20:00:16 +0100
committerSimon Lejeune <sle@openerp.com>2018-02-08 12:58:47 +0100
commit625a648f227325468981a9e4a51e80b44132a45f (patch)
tree69f651071182bf41a7cc6d398d0fa33f1b8c6e86 /addons/web/static/src/js/views/basic/basic_controller.js
parentae39a89a096c8dcb315425a23e4c6d7a70ef2f27 (diff)
[FIX] stock, mrp: untracked quants and unreservation
- create a product comp1 tracked by lot - make an inventory adjustment for comp1 ; 1 quant with lot1 and 1 quant without lot - create a bom for product finished1 composed by 1 comp1 - create a mo for 1 finished1, reserve it - the mo reserved the quant with lot1 - produce finished 1 - unlock the mo - change the component from lot1 to lot2 (that do not exist) - the write on a move line will trigger a re-reservation that will fallback on the quant without a lot (that's how untracked quant for tracked products are handled) - delete the move line, it'll unreserve with lot2 and fail We fix the issue by applying the same logic of fallback on the untracked quants in the unreserve of a move line. We add a test for the unreserve of a move, as it simply unlink the move lines. opw-814914
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions