Skip to Content
Menu
This question has been flagged
2 Replies
5919 Rodiniai

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?



Portretas
Atmesti

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

Best Answer

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

<field name="domain">[('user_id', '=', user.id)]</field>
Portretas
Atmesti
Best Answer

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?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
gruod. 24
1017
2
saus. 24
1750
1
rugs. 23
1411
4
bal. 25
11843
0
vas. 25
1422