Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5519 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhấ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()


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Just update "base" module

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 24
1490
1
thg 4 23
4120
1
thg 3 23
6697
1
thg 12 22
3979
2
thg 7 22
23306