i have a Many2many field related to a 'services' model, when i click the "Add a line" i want to apply a filter on the popup view search.
is it possible to change the behavior of the "add a line" button and the view opened?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
2570
瀏覽次數
Hi. Instead of changing the functionality of "add a line" button, you can restrict the access to the records to be accessed by the particular user using record rules. So, when a suitable record rule is added, the user can see only those records for which he has the access when he clicks on "add a line" in m2m field.
If you can elaborate the requirement further, I can work on the record rule and let you know the outcome. Thanks.
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
12月 20
|
13929 | ||
|
0
7月 19
|
4431 | ||
|
0
4月 22
|
2599 | ||
|
1
12月 21
|
3895 | ||
|
0
9月 21
|
214 |