콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1965 화면

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.

아바타
취소