Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
6440 Vizualizări

I cant put color on the buttons of the header I have this codeto the header:

<header>

   <button name="pet_regist" string="registado" status="registado"  class="oe_highlight" type="workflow" />
   <field name="state" widget="statusbar" statusbar_visible="novo,registado,validado,morto" 
     statusbar_colors='{"novo":"blue","registado":"blue","validado":"blue","morto":"blue"}' /> 
</header>

my buttons of the header on the right are grey I need in first instance when I click on the create button the "novo" shows in blue.

image description

Imagine profil
Abandonează
Autor

The buttons on the header dont change color when the state changes, neither when I click on the menu "all pets" the state "novo" (1st state) appears in blue

Autor

How can I change the color of the buttons on the right "novo"->"registado"->"Validado"->"Morto" when I change the state of the workflow?

Related Posts Răspunsuri Vizualizări Activitate
2
ian. 25
3269
3
nov. 22
34659
1
mar. 15
4918
3
iun. 21
11411
4
iul. 15
4038