Ir al contenido
Menú
Se marcó esta pregunta
4365 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
11511
2
jul 15
4940
1
ago 23
2607
1
ene 21
4200
3
sept 20
72079