Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
8213 Vistas

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?


 


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 25
2776
3
abr 24
2400
3
nov 22
34130
4
jun 22
14765
2
jun 22
2623