How not to show the icons from the “contact” widget in QWeb templates

If you use the “contact” widget for displaying an address in the QWeb templates and you want the address to be without icons, you would need to set the flag “no_marker” to “True”.

For example, the code for the shipping address in the sale report without icons would look like:

<div t-field="doc.partner_shipping_id" 
    t-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"],
    "no_marker": True}'/>
Share the knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *