diff options
| author | amoyaux <arm@odoo.com> | 2017-08-23 10:46:24 +0200 |
|---|---|---|
| committer | amoyaux <arm@odoo.com> | 2017-08-23 14:24:11 +0200 |
| commit | 857778fa94bfc70ea7684d37297ca76e40b87262 (patch) | |
| tree | 5be257546d93e9248447c30e9eacb8e35e7619ca /addons/web/static/src/js/views/basic | |
| parent | 3b232b9eff4ebc935330ada2fe06400b559052e5 (diff) | |
[FIX] stock: move entire pack with multiple quants
There was an error message when trying to move an entire
pack that contains multiple quants saying that every component
in the pack should be in the same location. (it the case with the
bug)
It happens because after action_done only one quant of the package is moved
to the new location and other quant still in the old location. Thus the
check fail. Also the extra move for remaining was not created.
This commit changes the get_remaining_prod_quantities on pack operation
that had a migration error between old/new api. This change returns the
correct remaining quantities and thus the extra move is created and all
quants for the pack are moved to the new location.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
