odoo/odoo — pull request #3089 by astirpe (2014-10-15 09:39:36+00:00)
Title: [FIX] Browse on account.invoice obj, not self

See _create_invoice_from_picking() defined in module delivery.
Method browse should be called from an account.invoice object instead of self (stock.picking).