Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
1604 Переглядів

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
2261
0
лип. 25
859
1
черв. 25
1770
3
лип. 25
3376
1
трав. 25
1526