I want to hide 2 fields in form view if login user and project manager is not same in odoo 12
Câu hỏi này đã bị gắn cờ
2
Trả lời
6327
Lượt xem
Hi annie rathod,
in odoo form view you need to hide to fields if login user and project manager is not same then you need to use direct odoo12 fields_view_get() method override.
- Using this method you can find current user.
- And fetch your manager using context.
- This method reference in odoo addons code python files.
Thank you so much Nikhil its Excellent work in tree view.
Please refer given below link
https://stackoverflow.com/questions/17621515/how-to-show-and-hide-input-fields-based-on-radio-button-selection
<li id="my_cart" class="hidden">
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
0
thg 4 26
|
18 | ||
|
|
0
thg 4 26
|
7 | ||
|
|
0
thg 3 26
|
5 | ||
|
|
0
thg 11 25
|
195 | ||
|
|
2
thg 11 25
|
1825 |