Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
8273 Näkymät

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
tammik. 25
3015
3
huhtik. 24
2400
3
marrask. 22
34330
4
kesäk. 22
14864
2
kesäk. 22
2716