Odoo Help


Having different statusbar widgets in the same view makes the statusbar not highlight the present state

Javier Almancevo
on 11/22/15, 9:06 AM 712 views


I have a statusbar widget working correctly if I only have one in the xml view, but as soon as I try something like this:

<field name="state" widget="statusbar"

statusbar_visible="received,processing,ready,delivered" states="received,processing,ready,delivered"/>

<field name="state" widget="statusbar"

statusbar_visible="received,processing,partially_ready,ready,delivered" states="partially_ready"/>

<field name="state" widget="statusbar"

statusbar_visible="received,processing,ready,partially_delivered,delivered" states="partially_delivered"/>

Basically, I want to show the states partially_ready and partially_delivered in the status bar only when they are highlighted and the rest of the time have a shorter status bar without those intermediates states. But as soon as I set up this code the status bar shows but it does not highlight the adequate states, its all grey no matter which state the model is in. It works completely fine if I set only one statusbar widget in the view, but it does not highlight if there are more than one option even when only one option is visible at any point.

Any solution or idea?


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: 11/22/15, 9:06 AM
Seen: 712 times
Last updated: 11/22/15, 9:06 AM