diff options
| author | Simon Lejeune <sle@openerp.com> | 2018-07-09 15:34:08 +0200 |
|---|---|---|
| committer | len-odoo <35492570+len-odoo@users.noreply.github.com> | 2018-08-09 08:38:17 +0200 |
| commit | 252bc396b445d1635e8dac1f3cfa1dd5de8cc36e (patch) | |
| tree | d6b850822e6cb4503b09cc3890b11e50db3dcb99 /addons/web_editor/static/src/js | |
| parent | d92f17cebe048190679f7f86456d93aa98c0cb2a (diff) | |
[FIX] stock: button_validate: forced move lines
When a move line is not linked to a move, it'll be linked to the first
move of the same product at validation time. We slightly improve this
logic by linking it to the first non-completed move. To be completely
correct, we should split the move line if necessary and link it to all
needed moves, but at this time we don't want to make the logic too
complex.
Use case: create a sale order with three sale order lines of the same
products, use the detailed operations view and add three move lines of
the same products, validate the picking. Before the patch, all move
lines were linked to the first move and thus only the first sale order
line had delivered quantities.
Fixes #25488
opw-1861765
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions
