콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
5575 화면

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"}"/>

아바타
취소