I have this situation in Odoo 8:
Model x:
customer_name: fields.char(),
customer_email: fields.char(),
odoo_partner_id: fields.many2one('res.partner', 'Contact from outside')
I need put a button on my "x.form.view" to call a res.partners list on wizard.
That wizard must be filtered by possible options of my res.partners with
['name, 'like', same customer_name] or ['email' , 'like', 'customer_email' ],
and give me the option so select what i want and complete x.odoo_partner_id field,
If don't exist any partners with that condition create a new one.