Ir al contenido
Menú
Se marcó esta pregunta
4163 Vistas

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?

Publicaciones relacionadas Respuestas Vistas Actividad
2
abr 21
11334
2
jul 15
4783
1
ago 23
2526
1
ene 21
4070
3
sept 20
71892