Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5909 Lượt xem

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?



Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

<field name="domain">[('user_id', '=', user.id)]</field>
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 24
1017
2
thg 1 24
1749
1
thg 9 23
1409
4
thg 4 25
11842
0
thg 2 25
1415