diff options
| author | Josse Colpaert <jco@odoo.com> | 2017-10-13 17:02:52 +0200 |
|---|---|---|
| committer | Josse Colpaert <jco@odoo.com> | 2017-10-26 09:50:33 +0200 |
| commit | 365362a4a0d86701d6f991b3917528d02923b22d (patch) | |
| tree | ea6ea1ebe05fcb60b32ac78bcf2f1036ced79232 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 505a7f853fd6b9574d41b2701480ed2f06e58e6d (diff) | |
[FIX] mrp: on rereserve of mo, we can unlink stock.move.lots
On rereservation of an mo, it will remove the existing stock.move.lots
if no quantity was done on them. We wanted to avoid however that it
would remove the temporary stock.move.lots on the workorder. On the normal
ones however, there is also a workorder_id. That way it would
not unlink stock.move.lots when you had workorders. By checking the temporary or
not flag (done_wo) instead of workorder_id, we solve the issue.
Courtesy of blaggacao fixes #19422
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
