diff options
| author | Arnold Moyaux <arm@odoo.com> | 2017-12-12 17:33:42 +0100 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2017-12-18 11:45:32 +0100 |
| commit | 08bf52f5dbb35d9d9ac64f47310a60e0565f158c (patch) | |
| tree | 2fb0546ef11461b50fa429a77378e1d350eaa080 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | bed48ad960da6bb85f02a5c07c17746a3dd0f416 (diff) | |
[FIX] mrp: final lot not passed between workorder
Use case to reproduce:
- Create a MO with a product tracked and a qty to produce greater than 1.
- The Bom should also use a routing with at least 2 operations.
- On the first workorder only produce 1 unit and record the production
- Go to the next workorder -> The final lot is not set.
It happens because the lot for the next workorder is only set if the
total quanity for the mo was produced.
This commit fixes the bug by removing the code for the workorder lot
assignation outside the wrong condition. This commit also update the
test test_00b_workorder_process that allows us to find the above bug.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
