How to use fields_view_get method | fields_view_get management from python
Вставка
- Опубліковано 5 жов 2024
- Views are defined how records should be displayed to end-users. They are specified in XML which means that they can be edited independently from the models that they represent. They are flexible and allow a high level of customization of the screens that they control. There exist various types of views. Each of them represents a mode of visualization: form, list, kanban, etc.
Using fields_view_get we can dynamically change the label or string of the field.
Can we change without refresh the page?
I refer to change it dynamic base on name we in put
question: how to hide a field by users groups?
Define your field in view file like this. Here 'company_id' field is only visible for users in 'group_multi_company'
@@cybrosys-technologies thanks