EP-5 How to Add an Icon Image to a Module in Odoo 18 | Odoo 18 Development Tutorials | Odoo 18 Video – CBMS Odoo ERP

EP-5 How to Add an Icon Image to a Module in Odoo 18 | Odoo 18 Development Tutorials | Odoo 18 Video – CBMS Odoo ERP

1
1 minute, 1 second Read

To add an icon image to a module in Odoo 18, follow these steps:

Prepare the Icon Image:

Create an icon image named icon.png.
Ensure the image is appropriately sized, typically 256×256 pixels, and in PNG format.
Place the Icon in the Module Directory:

Within your module’s directory, navigate to or create the following path: static/description/.
Place the icon.png file inside this directory.
The resulting path should be: your_module/static/description/icon.png.

Update the Module Manifest (Optional):

In some cases, you might need to specify the icon in your module’s manifest file (__manifest__.py or __openerp__.py):

pythonCopyEdit’images’: [‘static/description/icon.png’],
Add this line within the manifest dictionary to ensure the icon is recognized.

Update the App List:

After adding the icon, log in to your Odoo instance.
Navigate to the Apps menu.
Click on the “Update Apps List” option to refresh the list and display the new icon.

#Odoo18 #OdooDevelopment #OdooTutorial #OdooIcons #OdooCustomization #OdooTechnical #OdooERP #ERP #Python #WebDevelopment #SoftwareDevelopment #OpenSource #Odoo18TechnicalTutorials #Odoo18Development #Odoo18Tutorials #Odoo18Technical #OdooModuleCustomization #Odoo18NewFeatures #Odoo18ReleaseDate #Odoo18ERP

Connect With Us:
—————————————
➡️ Website:
➡️ Email: info@cybrosys.com
➡️ Twitter:
➡️ LinkedIn:
➡️ Facebook:
➡️ Instagram:
➡️ Pinterest:

#EP5 #Add #Icon #Image #Module #Odoo #Odoo #Development #Tutorials #Odoo #Video

Similar Posts

Comments on: EP-5 How to Add an Icon Image to a Module in Odoo 18 | Odoo 18 Development Tutorials | Odoo 18 Video – CBMS Odoo ERP

  1. avatar
    @kyurdi says:

    Thank you very much! But it only appears in the Applications menu or on the module information page. How can I add the icon to the main Odoo view of applications, in grid format?

Comments are closed.