diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2017-02-01 14:46:04 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2017-02-01 15:33:53 +0100 |
| commit | e3232c85b97fb727f3f64f1569bf2c24362ba332 (patch) | |
| tree | 7000713f5810abf90adb18bf230a0b6ae245863e /addons/web/static/src/js/framework | |
| parent | e0222de3c2210c9bd6d67ad1e4f90f44a86938ba (diff) | |
[FIX] mrp_byproduct: remove wrong move_dest_id link
A byproduct is a produced when producing another product (the targetted
product).
A move can be linked to another move. eg: we could have a manufacturing
order of 3 units linked to a move of a delivery order of these 3 units.
If we produce 2 units, the manufacturing order is split in 2 units and
1 units, and the delivery order is split similarily because of the link
1. [T manufacturing move split] -> [T delivery move split]
(T is the targetted product, B is the byproduct)
But in 8c307d7b1 a move_dest_id of a byproduct was linked to the targetted
product delivery move, thus in some situation the move of the delivery
order of the byproduct would erroneously be split 2 times instead of one.
1. [B manufacturing move split] -> [T delivery move split]
2. [T manufacturing move split] -> [T delivery move split]
This could also be the source of other issue, and since the byproduct
and targetted product are different, the link should anyway not be done.
opw-697151
note: this change is already in 10.0 (it is inside mrp refactoring 2ddc35a53)
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions
