Odoo Help

0
3 Answers
0
Avatar

Mitul Shingala

--Mitul Shingala--

1921
| 5 2 7
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
Avatar

Odoo Tools

--Odoo Tools--
765
| 5 2 5
St Petersburg, Russian Federation
--Odoo Tools--

Visit us: https://odootools.com/

OdooTools is the team of developers and business analysts to help you extend Odoo potential. We have been communicating with end users to whom the software became the main business tool since 2012. As a result, we are proud of dozens of successful Odoo apps developed. We are open for new ideas and challenges to create the best Odoo tools for business needs all over the world.

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

Hi,

try to add just style:

style="background-color:red;"
Ask a Question
Writer
Keep Informed
2 follower(s)
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