跳至内容
菜单
此问题已终结
1 回复
8226 查看

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?


 


形象
丢弃
相关帖文 回复 查看 活动
2
1月 25
2836
3
4月 24
2400
3
11月 22
34174
4
6月 22
14782
2
6月 22
2633