summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2018-01-11 14:51:50 +0100
committerArnold Moyaux <arm@odoo.com>2018-01-11 16:33:14 +0100
commitb7b38ed141be9d525c016c64b2ff932e865a63ca (patch)
treed488bbf27191644bd88163bfb1cf228ce12cd5c4 /addons/web/static/src/js/fields
parent27dd19c0b9b5ccdf1e84509119ace6becb09ff6d (diff)
[FIX] stock: remove superfluous track visibility messages
`_run_move` creates the move, calls `_assign_picking` and then confirms it. The result is that a draft move is added to a picking and then its state is changed to confirmed. As the state of the picking is computed across its moves and a manual call to `message_track` is done when any of its move changes its state, there was a lot of tracking messages in the picking chatter, especially when you confirm a sale order (a lot of calls to _run_move). The thing is that this is unnecessary as stock.move’s `_action_confirm` will call `_assign_picking` later on AND after having changed its state to “confirmed”. Now a confirmed move is added to a confirmed picking and no message are posted. This improves considerably the validation of a massive SO.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions