Odoo Help


How can I show only current status in statusbar?

on 9/7/15, 3:43 AM 1,577 views

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.

On 9/8/15, 1:45 AM

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

I appreciate your suggestion! 


Tarek Mohamed Ibrahim

--Tarek Mohamed Ibrahim--
| 5 3 7
Gîza, Egypt
--Tarek Mohamed Ibrahim--

I am an old VFP developer on ERP

I have moved to 2p since Nov-2014 and started developing with Python on Odoo.



Tarek Mohamed Ibrahim
On 9/7/15, 8:42 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/7/15, 3:43 AM
Seen: 1577 times
Last updated: 9/22/16, 7:43 AM