[FIX] mrp: traceability of production
authorkevin wang <kevin_327@163.com>
Fri, 17 Oct 2014 14:16:28 +0000 (16:16 +0200)
committerMartin Trigaux <mat@odoo.com>
Fri, 17 Oct 2014 15:21:30 +0000 (17:21 +0200)
commitef4d8b2df037f86ad7da1e490fba2850db757171
treeec6c80d7878381961c1ab74bf0a9714a2d43126e
parenta6343387d756f53e3538992601e0680eded0caa3
[FIX] mrp: traceability of production

When consuming product, the main_production_move is set as the source of production (used for consumed_for parameter)
However the method action_consume now (since 661a204) returns the new moves (when spliting) instead of the original one. This means that the tracebility would fail.
addons/mrp/mrp.py