Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5460 Widoki

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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()


Awatar
Odrzuć
Najlepsza odpowiedź

Just update "base" module

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
gru 24
1416
1
kwi 23
3986
1
mar 23
6613
1
gru 22
3909
2
lip 22
23164