Skip to Content
Menu
This question has been flagged
3 Replies
1790 Views

i am following an Odoo Technical video guide which uses 16 CE and I have 16 Ent.

in a view file menu_items.xml i have included:

web_icon="real_state_ads,static/description/icon.png"

this is showing correctly when click on Apps and it render its kanban view to show all Apps


but not showing same icon on main page (when i enter in browser localhost:8069 and press enter the very first page/screen).


i searched and tried in Technical -> Menu Items then search for my menu item and add web icon manually on this screen then return to main screen and it was showing icon correctly, but when i 'Upgrade' app/module now it will not show that icon.

how i can have this custom icon on both screens forever?

please help.

regards

Avatar
Discard
Author

can somebody help please???

Author

nobody has faced this problem yet?

Author

still waiting for an Answer...

Did you try clearing the browser cache files or site cookies?

Author

@Savya
i did it several times... but nothing helped yet.

Best Answer

Hi,

Ensure that you have assigned the image to the root menu, that is the menu shown in the main screen. To ensure cache is not causing any sort of issues, check in a new db and in a private window.

          web_icon="base,static/description/modules.png" groups="base.group_system"/>


Also ensure module is upgraded in the db, after adding the change and no update attribute is not set.


Thanks

Avatar
Discard
Best Answer

You should restart your odor server. You have several other posts showing you how to do that. It is a different process depending on your installation type.

Also see if the module has an icon for the app in the records.


Hope this helps.

Avatar
Discard
Best Answer

I'm still new to Odoo myself, but I ran into this before but it has been a while since I did it.  I believe what I did was activate developer mode by going to settings and scrolling to the bottom and clicking "Activate the developer mode".

Then, click the little bug icon in the top right of the screen and click "Regenerate Assets Bundles".  I believe what is happening is the style sheets and assets are cached and this makes Odoo refresh them.

Avatar
Discard
Author

@Eric Chew thank you, will try this and confirm.

Related Posts Replies Views Activity
1
Apr 25
2186
1
Apr 25
2916
1
Apr 25
632
4
Mar 25
5179
2
Feb 25
1560