You need to add web icon attribute in your menuitem.
For Ex:-
<menuitem name="menu_name" id="unique_id" web_icon="module_name,path_of_icon" sequence="1"/>
Default location of Odoo module icon in the app index is:
static/description/icon.png
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.