Hello everybody, I'm using Odoo 9 (i'm a very beginner) and I have a question about the mail module, particularly the contacts view.
When I get on the page, I want to see only the companies. I managed to do this adding a <field name="context"> xml tag, which adds a default filter on companies.
But now, what I want is that, when I type a name (and so, I use a field), it displays not only the company asked but also the persons that are related to what I typed.
I thought about two possibilities but I can't manage to realize them :
-The first one is that, when I type enter, it applies my field but also a filter that adds the persons (and, then, that cancels the effect of the "company filter").
-The second one is that, when I type enter, it deletes my company filter.
I don't know if those propositions are good solutions, maybe I'm heading in the wrong direction. But if they are, how can I manage to realize them, what do I need to change in the Python or JS code (or even just XML maybe) ? And if it's not the right solution, could you help me finding one ?
Thank you for your help and your attention,
Axel