Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Button color on one2many field odoo 8

By
OC
on 2/16/16, 3:59 AM 1,223 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?


 


1

Jignesh Mehta

--Jignesh Mehta--
2081
| 6 4 8
Surat, India
--Jignesh Mehta--


Jignesh Mehta
On 2/20/16, 1:44 AM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/16/16, 3:59 AM
Seen: 1223 times
Last updated: 2/20/16, 1:44 AM