odoo/odoo — pull request #4076 by hbrunn (2014-12-05 16:55:56+00:00)
Title: [FIX] set consumed_for for excess moves

When we produce a product that has `track_production` switched on, and use more raw materials than expected (= he creates an extra move for the excess usage), the extra move won't have `consumed_for`, which triggers an error when marking the move as done.