Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
8235 Представления

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?


 


Аватар
Отменить
Лучший ответ

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,

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
янв. 25
2906
3
апр. 24
2400
3
нояб. 22
34220
4
июн. 22
14797
2
июн. 22
2640