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 coach_id selection I have the ff:
coach_id -------- job_id
juna -------- manager
pedro -------- employee
ana -------- manager
how to filter to show coach_id with manager job_id in my new selection fields
If you are using selection field you can't. Domain does not work for selection fields.
If you are using many2one field, you can put domain attribute when you define the field in the _column attribute.
Or if you are using many2one field and NOT use widget="selection" attribute, you can define the domain the the view.
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: 11/30/14, 10:24 AM|
|Seen: 995 times|
|Last updated: 3/16/15, 8:10 AM|