Hello Odooers, Odoogig and Odoo Lovers,
In this odoo technical tips I would like to explain how to add icon on button in odoo with example
- Rather than displaying simple button odoo allows you to set icon into button, so it will look more user friendly
- Font Awesome open source toolkit allows you to add icons into odoo button
- There are lots of fa-icons which you can use for odoo buttons
#odoo #odoo12.0 #menu #icon #addicon #odoolearn
<button string="string_to_be_displayed" name="name_of_method" type="object" class="oe_highlight" icon="fa-name_of_fa_icon"/>
<button string="Print PDF" name="print_pdf_report" type="object" class="oe_highlight" icon="fa-print"/>
- Instead of print there are lots of fa-icons that you can find here, just replace print with name of other icon like bell, bank etc
GET IN TOUCH.!
We’d Love to Hear from You! We are happy to answer any questions, you have regarding My Training.
Mail : firstname.lastname@example.org
Skype : mayur_maheshwari1
What’s app : +919924542042