Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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,
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/28/16, 5:00 AM|
|Seen: 319 times|
|Last updated: 6/28/16, 5:52 AM|