I want to hide 2 fields in form view if login user and project manager is not same in odoo 12
This question has been flagged
2
Replies
6296
Views
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">
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
0
Apr 26
|
7 | ||
|
|
0
Mar 26
|
5 | ||
|
|
0
Nov 25
|
195 | ||
|
|
2
Nov 25
|
1784 | ||
|
|
0
Jul 25
|
1961 |