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

I am using Odoo Community V16. I want to hide some base fields like Probability while adding/editing opportunities in CRM Odoo. How do I do that? I can't make changes in architecture as the changes will get overridden. Can I make inherited views to hide these fields? If yes, how. Any eg would help. Thank you!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

here are all info what and how to do it: https://www.odoo.com/documentation/16.0/developer/tutorials/backend.html#view-inheritance 


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Yes directly editing the view architecture is not good method and as you said it will get overridden while upgrading the app.

If you need to do it from the ui itself, you can create an inherited view of the original view and then you can apply changes there.


See a sample here: https://www.youtube.com/watch?v=9Sy2SxQEkSk


If you need to do it from code, you can also try it, see: https://www.youtube.com/watch?v=46yecsKX2tw

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 17
5990
0
thg 11 17
5691
2
thg 3 15
4605
How to hide fields? Đã xử lý
3
thg 3 15
28728
1
thg 6 23
2907