We will add a manifest file and an icon to our add-on module:
- 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'], }
- To add an icon for the module, choose a PNG image to use and copy it to static/description/icon.png.