Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4157 Zobrazení

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
Zrušit
Autor

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

Autor

Any ideas?

Related Posts Odpovědi Zobrazení Aktivita
2
dub 21
11329
2
čvc 15
4779
1
srp 23
2519
1
led 21
4060
3
zář 20
71885