Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
8272 Переглядів

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
3013
3
квіт. 24
2400
3
лист. 22
34325
4
черв. 22
14864
2
черв. 22
2716