Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5456 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 24
1415
1
เม.ย. 23
3986
How to set attachments to public? แก้ไขแล้ว
1
มี.ค. 23
6613
1
ธ.ค. 22
3907
How to change "Apps" module icon แก้ไขแล้ว
2
ก.ค. 22
23164