تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5468 أدوات العرض

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
ديسمبر 24
1419
1
أبريل 23
3989
1
مارس 23
6614
1
ديسمبر 22
3910
2
يوليو 22
23170