Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
6377 มุมมอง

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

อวตาร
ละทิ้ง
ผู้เขียน

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

ผู้เขียน

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 ตอบกลับ มุมมอง กิจกรรม
Unable to change button color แก้ไขแล้ว
2
ม.ค. 25
3076
Change button color to red แก้ไขแล้ว
3
พ.ย. 22
34424
1
มี.ค. 15
4786
How do you change Create button? แก้ไขแล้ว
3
มิ.ย. 21
11291
[8.0] Is workflow really usefull ? แก้ไขแล้ว
4
ก.ค. 15
3928