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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
2
Respuestas
1507
Vistas
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!
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
ago 25
|
2135 | ||
|
0
jul 25
|
690 | ||
|
1
jun 25
|
1508 | ||
|
3
jul 25
|
3200 | ||
|
1
may 25
|
1336 |