diff options
| author | Simon Lejeune <sle@openerp.com> | 2017-07-24 17:52:15 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2017-07-25 17:24:12 +0200 |
| commit | 2d137f56c8c4a4004dbeaf34a6ef417f507c3ac2 (patch) | |
| tree | 69b595d140dca4271e7f785fdf5e862d787a639d /addons/web/static/src | |
| parent | 8822b7cfa41b65113b2482f8e057ef6c46398f8d (diff) | |
[REF] stock: `action_done` on stock.move.line
Before this commit, `action_done` on stock.move.line was intended to
receive the recordset of the move lines of a single move where the move
lines having a null `qty_done` were already unlinked.
This part of code was in stock.picking's `button_validate` and not
copied in mrp, and weird things happened when mrp tried to run
`action_done` on a stock.move.line with a `qty_done` of 0.
We move this check directly in `action_done`, as well as the check on
the picking type that was done in stock.move's `action_done`.
We also adapts rev[0] that was not working anymore since the new stock,
and add some tests.
[0] e79eaecc46d72187c8a7ad39c0f2b17b61dff267
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
