I have developed one app in odoo. I want to create the tile menu on the odoo home page after installed my customized app
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
Hi ,
To Create a menu item ,
Create a directory within your module named static
Create another directory named description inside the static directory.
Make sure that your icon image is in 'png' format and named as : icon.png
Place the icon.png file inside the static/description folder
module_name/static/description/icon.png
In the XML where you define your main menu, add the web_icon attribute:
Then upgrade your module.
The easiest way to create a custom odoo icon is,
Goto,
https://spilymp.github.io/ibo/
You can generate the icon by
- By Clicking the web icon it will open a new tab based on the icon set you choose,
Copy-Paste the class and select the background-color
eg: fas fa-user-shield
- By clicking generate button it will generate the icon and can download it by clicking the download button.
Hope it helps,
Kiran K
<menuitem name="Main Menu Name" id="main_menu_root" sequence="115"
web_icon="module_name,static/description/icon.png" />
Hi,
Create a root menu item for your app and in the parent of your customized menu items give this root menu id. Place your image for your app in this path inside your custom module.
static/description/menu_icon.png
<menuitem id="root_menu_your_app"
name="Your app name"
icon="fa-wrench"
web_icon="your_module,static/description/menu_icon.png"
sequence="35"/>
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
3
січ. 24
|
7900 | ||
|
0
січ. 24
|
7 | ||
|
0
серп. 21
|
881 | ||
|
4
черв. 21
|
12860 | ||
|
3
лют. 20
|
2287 |