diff options
| author | Josse Colpaert <jco@odoo.com> | 2016-11-08 15:58:57 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2016-11-10 17:32:15 +0100 |
| commit | 7e15fa59e4979f0765a8e10e776b3da1472a31c7 (patch) | |
| tree | 9cf07213c711add2a1ccbe1c9a3dff6b42d5b61d /doc/reference/javascript.rst | |
| parent | ff56304f58cb8195c9b02bd52f37de0fbee12449 (diff) | |
[FIX] mrp: correctly update lot_product_id to final lot for stock.move.lots
When there are 3 different lots reserved for 3 different serial
numbers for the final product, if you do the first finished product, the
finished lot is put on all stock.move.lots even if nothing has been
consumed for it.
This results in traceability report for the first finished lot being linked
to all of lots instead of just the one that was consumed.
Now we update lot_produced_id only on stock.move.lots where quantity_done > 0.
That way it will only links with the correct one.
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions
