odoo/odoo — pull request #3361 by rha-odoo (2014-10-29 10:32:06+00:00)
Title: [FIX] membership: shown customer invoice form instead of supplier,  opw:...

...615986

clicking invoice reference of the membership line on the res.partner, it should show customer invoice form instead of supplier invoice.

problem:
fields_view_get() neither get view reference nor active_ids-active_model from the context, so it shows supplier invoice form view by default which has highest view sequence.

solution: passed customer form view reference from context.