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

I want to display only current status on the header instead of all the statuses:

e.g. 
I have more than 12 statuses for my object and the statusbar gets messed up if I display all statuses. I don't want to use statusbar_visible as it displays specific statuses only and then when the record is on different status than what it has on statusbar_visible, it expands the statusbar options again by adding new status which is confusing.

Please help me.

아바타
취소
작성자 베스트 답변

Thanks for your help, very much. It worked when I put statusbar_visible=" " with a space between quotes. 

I appreciate your suggestion! 

아바타
취소
베스트 답변


Make the statusbar_visible empty, as follows

<field name="state" widget="statusbar" statusbar_visible=""/>  

and it will shows only the current status.

My advice is to put the first and last states, as follows

<field name="state" widget="statusbar" statusbar_visible="first_state,last_state"/> 

so that the current state will be shown between them, this is better.


I hope this would be helpful

아바타
취소
관련 게시물 답글 화면 활동
4
3월 20
154
2
5월 17
3841
1
7월 24
2383
0
4월 24
1957
4
11월 23
6059