Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
5466 Visualizações

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
Cancelar
Autor Melhor resposta

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
Cancelar
Melhor resposta

Just update "base" module

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
dez. 24
1418
1
abr. 23
3988
1
mar. 23
6614
1
dez. 22
3910
2
jul. 22
23166