Odoo Help


Need to Display Specific States in the Statusbar

Thomas OToole
on 11/22/13, 1:43 AM 1,273 views

I need to display the first set of code for the draft, sent and a negotiation phase of the Quotation/Sales Order view. Once the Quotation is Confirmed I want to show the second set of states in the statusbar. I have found through research that having the two identical field names is why one of them does not show status. Is there a way that I can combine the two lines of code below into a single one or is there a way to make a state invisible on the status bar based on the current state of the view?

<field name="state" widget="statusbar" states="draft,sent,negotiation" statusbar_visible="draft,sent,negotiation,progress" statusbar_colors="{"draft":"red","sent":"blue"}"/> <field name="Status" widget="statusbar" states="progress,released,shipped,manual,done" statusbar_visible="progress,released,shipped,manual,done" statusbar_colors="{"invoice_except":"red","waiting_date":"blue"}"/>

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/13, 1:43 AM
Seen: 1273 times
Last updated: 11/24/15, 7:38 AM