Hii
how to set xpath globally like i have field parent_id and i use it in diferent diferent forms in same module. when i change it's string that time only main form string would be changed not on every form. how to do it ?
plz suggest me...
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hii
how to set xpath globally like i have field parent_id and i use it in diferent diferent forms in same module. when i change it's string that time only main form string would be changed not on every form. how to do it ?
plz suggest me...
If you have different forms, you would need to inherit all the forms and change the string is the only way.
You can also override fields_view_get method and change the string for a field (or whatever you want to do). This method is called whenever any view gets loaded. So this will work for all the views in your case.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up