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?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/16/16, 3:59 AM|
|Seen: 981 times|
|Last updated: 2/20/16, 1:44 AM|