Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8260 Lượt xem

Hello,

I wanted to apply color on the button say green but odoo is not allowing me to change the color. here is my code

<button name='call_some_method' class='my_css_class' type='object' string='my buttton'/>

second approach was

<button name='call_some_method' style="background-color:green" type='object' string='my buttton'/>

i have added this button in tree view.

does anyone has idea regarding why it is not changing color in th tree view?


 


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello OC,


Refer the following link

https://www.odoo.com/forum/help-1/question/how-do-you-change-the-color-of-oe-highlight-to-green-36337


Thanks,

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 25
2996
3
thg 4 24
2400
3
thg 11 22
34309
4
thg 6 22
14845
2
thg 6 22
2700