Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
5571 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
1554
1
abr. 23
4268
1
mar. 23
6766
1
dez. 22
4036
2
jul. 22
23494