Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1894 Vistas

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... 

Avatar
Descartar
Mejor respuesta

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.

Avatar
Descartar