Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
8317 มุมมอง

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?


 


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello OC,


Refer the following link

https://www.odoo.com/forum/help-1/question/how-do-you-change-the-color-of-oe-highlight-to-green-36337


Thanks,

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Unable to change button color แก้ไขแล้ว
2
ม.ค. 25
3060
3
เม.ย. 24
2400
Change button color to red แก้ไขแล้ว
3
พ.ย. 22
34390
4
มิ.ย. 22
14938
2
มิ.ย. 22
2760