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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
2
Risposte
1583
Visualizzazioni
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!
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
2
ago 25
|
2250 | ||
|
0
lug 25
|
824 | ||
|
1
giu 25
|
1696 | ||
|
3
lug 25
|
3325 | ||
|
1
mag 25
|
1462 |