I want to display only current status on the header instead of all the statuses:
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.
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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/7/15, 3:43 AM|
|Seen: 655 times|
|Last updated: 9/22/16, 7:43 AM|