Showing posts with label module list. Show all posts
Showing posts with label module list. Show all posts

How to add an image icon to OpenERP custom module In OpenERP

Hello

I would like to share with you that How to add an image icon to OpenERP Custom module In OpenERP.

when you develop a custom module make a following directory in your custom module in OpenERP.

Custom_module:

           __init__.py
           __openerp__.py
           custom_module.py
           custom_module_view.xml
           static
                    src
                         img
                               icon.png

You need to save your icon as 'icon.png' and place it under 
custom_module/static/src/img/icon.png

 exmple :
 hr_custom/static/src/img/icon.png

Openerp will automatically select the icon from the static/src/img path

custom module icon
custom module icon






Thanks,

Mayur Maheshwari