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.
In my current project, I'm using Odoo V8. I've a M2O field partner_id in my custom module, with ref. to res.partner
Now I've 2 boolean fields (radio buttons: 1. customer, 2.supplier), displaying just above the partner_id.
So whichever among these radio buttons get selected/checked, I want to filter the partner list with it.
For example, if customer radio is checked then I want to list only customers and if supplier radio is checked then the list of suppliers.
This can be achievable by using dynamic domain from onchange() method. (Working for me)
But my real issue is, if we click on the seach more... option in the partner_id we need to open the list of all partners without any domain/filter (both client & suppliers), no matter what radio is selected & what domain has been applied.
Currently when I'm clicking the search more... option it's opening a tree view of partners but with the domain as customer/supplier.
I want to clear/remove this domain from the list. Please help me with this.
As the domain applied on a filter is not displaying as a filter on the search view so that I can close it to clear the filter.
Any help or suggestions would be appreciated :)
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: 12/9/14, 8:41 AM|
|Seen: 805 times|
|Last updated: 7/30/15, 5:13 AM|