Odoo Help

0
3 Answers
0
Avatar

Mitul Shingala

--Mitul Shingala--

1442
| 5 2 6
Rajkot, India
--Mitul Shingala--

Odoo Developer

Mitul Shingala
10/24/18, 9:45 AM

Hello

add class "btn-danger" into button for make the button color red.

0
Marco Martinez
10/24/18, 9:40 AM

Hello.

What you can do is to add an style sheet with a class and then make a reference to it with a link tag in an xml file, then load that xml in __manifest__ file of your module. 

Of course you should add that css class in class attribute of your button.

0
Odoo Tools
10/24/18, 9:38 AM

Hi,

try to add just style:

style="background-color:red;"
Ask a Question
Writer
About This Community

This platform 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.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now