Skip to main content

Posts

Showing posts from August, 2019

Add icon to custom module in odoo 12

   In this tutorial i would like to explain about how to add icon to custom module in odoo 12 Create a directory named static inside our custom module Create another directory named description inside static directory we want to place our icon image inside the description directory,before that make sure that your icon image is in png format and the complete file name for icon is renamed as  icon.png Restart the odoo server and refresh the browser,and it will be like this

HOW TO CREATE A MODULE IN ODOO 12

How to create a module in odoo12 Module structure    Our custom module must be inside a seperate folder,here life_insurance is our module name.And inside our folder contain 1- models    The model folder will contain our python files which are used in our custom module 2- security    The security folder will contain the files related to the security 3- views    The views folder will contain the XML files, which are used to define our custom modoule's view. 4- __init__.py    To import our python files which are used in this custom module 5- __manifest__.py    The manifest file serves to declare a python package as an odoo module and to specify module metadata    The __manifest__.py file contains  Name : Name of the module to be displayed Version : Modules version Summary : Summary of the modoule Description : Extended description for the module  Author : Name of ...