diff options
| author | hur@odoo.com <hur@odoo.com> | 2021-04-13 06:56:58 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2021-04-21 15:56:37 +0000 |
| commit | edabb86a306c4dda088b39f163de5668b5d90392 (patch) | |
| tree | 7aab5e734421c3d7fe3fba7e44c7ed908df9b3d9 /doc/python3.rst | |
| parent | b41cf0077c9a6d1d74cc0c7987c0edcc58e368d1 (diff) | |
[FIX] mrp: Kit Operations on parent MO without operations
Usecase to reproduce:
- BOM PROD 1 -> No operation -> KIT COMP 1
- BOM KIT COMP 1 -> at lease one operation
Create a MO and confirm it -> Traceback.
It happens because workorders_by_bom[production.bom_id] will try to
find the bom related to production order. However they don't exist but
it will create the entry [BOM PROD 1] = mrp.workorder()
The [0] will be call on each values of the list afterward and raise
the traceback
opw-2477269
closes odoo/odoo#68975
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
