跳至内容
菜单
此问题已终结
2 回复
5473 查看

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.

形象
丢弃
编写者 最佳答案

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


形象
丢弃
最佳答案

Just update "base" module

形象
丢弃
相关帖文 回复 查看 活动
0
12月 24
1421
1
4月 23
3994
1
3月 23
6622
1
12月 22
3917
2
7月 22
23182