Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1522 Zobrazení

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
Zrušit
Nejlepší odpověď

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
srp 25
2148
0
čvc 25
705
1
čvn 25
1533
3
čvc 25
3211
1
kvě 25
1360