Edi Santoso
Odoo and Python Developer
drink a tea to enjoying the life

How to fix odoo menu icon not shown

In this note, we will reseting odoo menu icon


using odoo shell

```
odoo-bin shell -c odoo.conf -d dbname
```

find menu

```
>>> menus = self.env['ir.ui.menu'].search([('web_icon', '!=', False)])
>>> [x.write({'web_icon_data': x._compute_web_icon_data(x.web_icon)}) for x in menus]
>>> self.env.cr.commit()
```

then reload your odoo service

reload your browser