diff options
| author | William Henrotin <whe@odoo.com> | 2019-09-25 08:39:08 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2019-09-25 12:18:45 +0000 |
| commit | 237e0b42dc4499a5d6d38783184b9e480f804977 (patch) | |
| tree | a68f81efa92e1bcfe2c6382fb9db07df2cfd855d /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | f976a1080300f724cfe2bc365d677901e2c20726 (diff) | |
[FIX] mrp: generate wo line according to move and not product
Planning workorder will generate workorder lines according to reservation
If some lines are already created into the workorder for the current product,
The line generation will increase the quantity of the existing one instead of creating
a new one. The issue occurs when the production have some stock move with the same
product.
This commit change the condition to find workorder line candidate. Instead of searching
line with same product, we now search line with same stock move.
closes odoo/odoo#37419
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
