Hello everybody!!!!
Can anyone help me know how can i call a mimetype to set it as a background of a button in my xml file.
Or, even how to set an icon as a background of a button.
Thanks a lot in advance.
Best Regards
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello everybody!!!!
Can anyone help me know how can i call a mimetype to set it as a background of a button in my xml file.
Or, even how to set an icon as a background of a button.
Thanks a lot in advance.
Best Regards
you can place an icon in a button by using the icon attribute. However this is limited to the default odoo icons. If you want to use your own icons then you should use CSS for that:
1- Add a class to your button
2- define a new css file if you don't have one
3- do whatever you want with CSS :)