Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
5869 Vistas

I have a scenario where I have a testing database without attachments, which causes the icons on the home page to look like this:



How to make the icons appear again? hopefully without upgrading all modules.

Avatar
Descartar
Autor Mejor respuesta

I found a solution, just run the following code as script with odoo shell:

for menu_id in env['ir.ui.menu'].search([('web_icon', '!=', False)]):

     menu_id.web_icon_data = menu_id._compute_web_icon_data(menu_id.web_icon)

exit()


Avatar
Descartar
Mejor respuesta

Just update "base" module

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
dic 24
1974
1
abr 23
5078
1
mar 23
7270
1
dic 22
4364
2
jul 22
24300