跳至内容
菜单
此问题已终结
2 回复
5345 查看

I want to force and lock the custom search filter in the Contacts module to "My Contacts", and have this extend to all other users.

This should be beyond the "default search" function, as there shouldn't be an "x" (remove) option next to it. I'm assuming this would involve some java edits.

What would be an appropriate approach to this?



形象
丢弃

Dynamic Add Custom Filter Menu Visibility | Remove Add Custom Filter Menu | Disable Add Custom Filter Menu | Control Access by User Group
This module allows administrators to hide or show the "Add Custom Filter" menu based on user groups, ensuring that only authorized users can apply advanced search filters.
https://apps.odoo.com/apps/modules/16.0/mh_hide_add_custom_filter

最佳答案

You can define domain in  contact action so user can see only his contacts list.

<field name="domain">[('user_id', '=', user.id)]</field>
形象
丢弃
最佳答案

I want to lock users not to delete default filters assigned to them so that they cannot view that does not concern to them. How can we do?

形象
丢弃
相关帖文 回复 查看 活动
0
12月 24
591
2
1月 24
1311
1
9月 23
957
4
4月 25
11219
0
2月 25
993