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.
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
|Asked: 11/30/14, 10:24 AM|
|Seen: 626 times|
|Last updated: 3/16/15, 8:10 AM|