跳至內容
選單
此問題已被標幟
2 回覆
5485 瀏覽次數

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
1473
1
4月 23
4044
1
3月 23
6648
1
12月 22
3950
2
7月 22
23239