odoo/odoo — pull request #2929 by komsas (2014-10-06 10:50:32+00:00)
Title: [FIX] Missing invoice line id when generating move lines.

Function move_line_get_item is called few times and e.g. in second time (line #1588) it don't have key 'invl_id'.
Bug was introduced in the b2f1c764cd commit.