Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2542 Представления

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!

Аватар
Отменить
Лучший ответ

Hi,

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


Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июл. 17
5972
0
нояб. 17
5662
2
мар. 15
4588
3
мар. 15
28664
1
июн. 23
2885