The manifest is an important piece for Odoo modules. It contains important information about it and declares the data files that should be loaded.
We should have a module to work with, already containing an __openerp__.py
manifest file. You may want to follow the previous recipe to provide such a module to work with.
We will add a manifest file and an icon to our addon module:
To create a manifest file with the most relevant keys, edit the module
__openerp__.py
file to look like this:# -*- coding: utf-8 -*- { 'name': "Title", 'summary': "Short subtitle phrase", 'description': """Long description""", 'author': "Your name", 'license': "AGPL-3", 'website': "http://www.example.com", 'category': 'Uncategorized', 'version': '9.0.1.0.0', '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...