İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
5521 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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
Vazgeç
En İyi Yanıt

Just update "base" module

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ara 24
1494
1
Nis 23
4131
1
Mar 23
6703
1
Ara 22
3982
2
Tem 22
23314