Add _get_partner_to_invoice() to purchase module.