diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-04-08 14:06:34 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-04-14 12:00:59 +0000 |
| commit | 414a0bac5a754696fb684c7d3938b7159f25b793 (patch) | |
| tree | 82d2b2c72084074cfa36826517558b5567a1244e /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 9640003b5c6e051ca459fbb9fcaf6fab925e28a8 (diff) | |
[FIX] mrp: partial production using all components
- Create a product P using one component C
- The BOM is flexible
- Create a MO for 10 units
- Product 9 units, but use all components
- Post the inventory
The MO is considered as done, while it should remain in progress.
This happens because the MO state is computed based on the move raw
state. In this case, it should compare the quantity produced and the
quantity to produce.
The material availability is set to `False`.
opw-2220855
closes odoo/odoo#49247
closes odoo/odoo#49526
X-original-commit: dd7ef482a1c41f271b133fbfcc3d389d16677da1
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
