Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4170 Visualizzazioni

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
Abbandona
Autore

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

Autore

Any ideas?

Post correlati Risposte Visualizzazioni Attività
2
apr 21
11342
2
lug 15
4785
1
ago 23
2526
1
gen 21
4080
3
set 20
71898