Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5760 Visualizações

I have employee_family() that is inherit from hr.employee().

In hr_employee() have new One2many field related with employee_family().

I need filter for see only one record of all that correspond to one employee.

How can do it?

Avatar
Cancelar
Melhor resposta

Hi,

without code it's difficult ...

what is the value/field/type of employee you want to filter ?

else try :

add in view form domain = [('employee_id.id', '=', employee_id.id), ('employee_one_id.id', '=', employee_one_id.id)]

 

bye

Avatar
Cancelar
Autor

Thanks. I try this now and see the results.

Publicações relacionadas Respostas Visualizações Atividade
0
jun. 21
2808
1
ago. 25
3637
1
jan. 25
1833
1
out. 24
3268
2
jul. 24
2211