Odoo Help

Welcome!

This community 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.

0

Need to Display Specific States in the Statusbar

By
Thomas OToole
on 11/22/13, 1:43 AM 883 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"}"/>

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/22/13, 1:43 AM
Seen: 883 times
Last updated: 11/24/15, 7:38 AM