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

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?

관련 게시물 답글 화면 활동
2
1월 25
3078
3
11월 22
34429
1
3월 15
4789
3
6월 21
11292
4
7월 15
3930