Skip to Content
Menu
This question has been flagged
4153 Views

Dears,

I have a scenario like , i need to apply a filter on a many2one field.

<field name="employee_id"  on_change="onchange_employee_id(employee_id)" class="oe_inline"  />

here employee_id is a many2one field and i need the field should only show the list of employees with the cost_centre same as that of the logged in user . how can i add a filter for that?

Thank you

Avatar
Discard
Author

domain="[('cost_centre','=',)]"

Author

Any ideas?

Related Posts Replies Views Activity
2
Apr 21
11325
2
Jul 15
4774
1
Aug 23
2518
1
Jan 21
4054
3
Sep 20
71878