Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
1585 Visualizações

Hey guys, im trying to make a filter that looks like this

'search_default_user_ids': [context.get('uid')]}
field name="user_ids" string="Employee"

                                                                 

But now i want to make that the employees cant delete it, is there a way to make it invisible or non editable i dont find any info here TY 

Avatar
Cancelar
Melhor resposta

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Avatar
Cancelar
Melhor resposta

Hey Marcos ,       You can use groups tag on this filter it will show only to that specific group to which you want show use like this(groups = stock.your_group_name).                   Thanks hope it will help you!



Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
ago. 25
2250
0
jul. 25
826
1
jun. 25
1701
3
jul. 25
3329
1
mai. 25
1469