diff options
| author | Simon Lejeune <sle@openerp.com> | 2019-09-27 14:11:25 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-09-30 11:58:38 +0000 |
| commit | ad31097d8e136fffbee9f7a00080cea0f637dc83 (patch) | |
| tree | c546c992fb2e074895b069d34e27c0cc9d13c4a9 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 92d57bafd544716b7cde0cf5a1aa4a2f294aa03b (diff) | |
[FIX] stock, delivery: put in pack and discard
rev[0] writes the qty done on the move lines directly in put_in_pack,
meaning hitting discard in the delivery wizard left the move lines with
a changed qty_done. We fix that by editing the quantities in
_put_in_pack in the stock module and getting the right move lines in the
delivery modules: meaning, get the normal or suggested ones (a fix
missed by rev[1]) then with quantities or 0 quantities.
[0] e03c1a836f2d1dd0ffad27df75fc4779fd1368de
[1] f6d88a2e8dedec2362868fe72763284a065b0e61
closes odoo/odoo#37563
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
