How to do it...

We will add a manifest file and an icon to our add-on module:

  1. To create a manifest file with the most relevant keys, edit the module's __manifest__.py file so that it looks like this:
{ 
    'name': "My library",
    'summary': "Manage books easily",
    'description': """Long description""", 
    'author': "Your name", 
    'website': "http://www.example.com", 
    'category': 'Uncategorized', 
    'version': '12.0.1', 
    'depends': ['base'], 
    'data': ['views.xml'], 
    'demo': ['demo.xml'], 
} 
  1. To add an icon for the module, choose a PNG image to use and copy it to static/description/icon.png.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset