Skip to Content
Menu
This question has been flagged
1 Reply
8238 Views

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
Discard
Related Posts Replies Views Activity
2
Jan 25
2915
3
Apr 24
2400
3
Nov 22
34226
4
Jun 22
14801
2
Jun 22
2650