Search code examples
pythonodoo

How to add social media icon to field in Odoo?


In my odoo app there is customer model. I need to create three new fields to hold the information about social media. I need three char fields (Facebook, LinkedIn Twitter), but each one should be shown with the corresponding icon. How do I do that?


Solution

  • Try this.

    In your view ,

    <div>
        <field name="your_field"/><div class="fa fa-facebook"/>
    </div>