diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-06-22 14:55:46 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-06-23 15:14:37 +0000 |
| commit | 6f8f0d4bc38953c0601ef776416c5cede15c44b8 (patch) | |
| tree | 85ea329e27e9e07a338e1a18a203a4f6f03a3655 /addons/mail/static/src/models/thread/thread.js | |
| parent | ce4fcebbbbaf9d2fb2c6e80870707679ab30d2bc (diff) | |
[FIX] mrp: multiple BOM
- Create 3 products A, B1, B2
- Create a BOM for A:
Manufacture, 1 unit of B1
- Create another BOM or A:
Kit, 1 unit of B2
- Create a MO for A
- Click on 'Produce'
B2 appears as a 'By-product'. Upon saving, an error occurs because of a
rounding set to zero.
The issues is coming from the generation of the `move_finished_ids`.
Since the product A has a BOM kit, the latter is exploded and added as
'By-product'.
We should not try to find phantom BOM for this specific use case. A
solution is to not explote the move produced.
opw-2251423
closes odoo/odoo#53526
X-original-commit: 226ccc2f64d00a19e0ae8851c45051106aa49adc
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread/thread.js')
0 files changed, 0 insertions, 0 deletions
