跳至內容
選單
此問題已被標幟
1 回覆
8246 瀏覽次數

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
2956
3
4月 24
2400
3
11月 22
34245
4
6月 22
14805
2
6月 22
2666