Skip to Content
Menú
This question has been flagged
4152 Vistes

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
Descartar
Autor

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

Autor

Any ideas?

Related Posts Respostes Vistes Activitat
2
d’abr. 21
11322
2
de jul. 15
4769
1
d’ag. 23
2516
1
de gen. 21
4052
3
de set. 20
71876