diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-06-12 06:59:21 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-06-16 06:20:26 +0000 |
| commit | 2399b59e28bd2a58797d2786d6438100e5a9dca7 (patch) | |
| tree | 3f2423225be6b8bc93d01006478cf726fb39537c /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 3aaa0088cf96a9ff6577c102a84b3ecbfb312b08 (diff) | |
[FIX] mrp: state of flexible MO
- Create flexible BOM for product P
- Create a MO for 5 units
- Produce 3 units
- Post the inventory
- Cancel the MO
The MO remains 'In Progress'.
In case of a flexible BOM, the quantity produced is compared to the
quantity to produce to know whether the MO should be done. In this
specific case, however, the MO should be closed.
It's not possible to rely on the move states in this case, so we
force the MO state.
opw-2270279
closes odoo/odoo#53010
X-original-commit: c99fe9dc5b5054d8d92b7283ad9f27f150de410b
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
