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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
1526
查看
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!
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
8月 25
|
2150 | ||
|
0
7月 25
|
712 | ||
|
1
6月 25
|
1540 | ||
|
3
7月 25
|
3211 | ||
|
1
5月 25
|
1362 |