diff options
| author | Arnold Moyaux <arm@odoo.com> | 2017-11-23 15:04:15 +0100 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2017-11-23 17:09:48 +0100 |
| commit | 1a125f765ecb1f5fa0a24b3ea4a16a5b576cbe3d (patch) | |
| tree | c345f79decc1715c43f5495b734e37ff9ee00226 /addons/base_import_module | |
| parent | 3e44ceb9274c4d87825f47e05ba900dd12d400ae (diff) | |
[FIX] mrp: use reserved SN for quality steps.
Use case to reproduce:
- Create a BOM with a component product tracked by SN
- Create a MO for this product and reserve it.
- Plan WO and process it.
- Register the same lot than the reserved one.
-> Error message: you can't use twice the same serial number
It happens because WO use temporary move line that should not
be considered as a real object. However it exists is a constraint
that trigger if two move lines share the same SN for the same product.
It's a wanted behavior that a real move line share the same SN that
temporary move lines.
This commit prevent real and false move lines comparaison.
Diffstat (limited to 'addons/base_import_module')
0 files changed, 0 insertions, 0 deletions
