Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
1573 Представления

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 

Аватар
Отменить
Лучший ответ

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Аватар
Отменить
Лучший ответ

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!



Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
авг. 25
2243
0
июл. 25
809
1
июн. 25
1680
3
июл. 25
3304
1
мая 25
1448