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:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
2819
화면
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
|
14256 | ||
|
0
7월 19
|
4713 | ||
|
0
4월 22
|
2872 | ||
|
1
12월 21
|
4147 | ||
|
0
9월 21
|
214 |