Completing the addon module manifest

The manifest is an important piece for Odoo modules. It contains important information about it and declares the data files that should be loaded.

Getting ready

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.

How to do it…

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

  1. 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': ...

Get Odoo Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.