diff options
| author | Xavier Morel <xmo@odoo.com> | 2015-01-19 15:51:16 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2015-01-19 15:51:16 +0100 |
| commit | 0aab81cd3ac6881b2b64ccedb901b55badd421d4 (patch) | |
| tree | e49af8a76546c29912abbc7e011249d3e20f00cb /doc/reference/module.rst | |
| parent | 4a4d3a60bb384ba07875a3db08d085a469e2691b (diff) | |
[IMP] doc: move manifest description from backend tutorial to manifest doc
Diffstat (limited to 'doc/reference/module.rst')
| -rw-r--r-- | doc/reference/module.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/reference/module.rst b/doc/reference/module.rst index 14e7847f1da..5dd93ca2cf6 100644 --- a/doc/reference/module.rst +++ b/doc/reference/module.rst @@ -15,6 +15,27 @@ and to specify a number of module metadata. It is a file called ``__openerp__.py`` and contains a single Python dictionary, each dictionary key specifying a module metadatum. +:: + + { + 'name': "A Module", + 'version': '1.0', + 'depends': ['base'], + 'author': "Author Name", + 'category': 'Category', + 'description': """ + Description text + """, + # data files always loaded at installation + 'data': [ + 'mymodule_view.xml', + ], + # data files containing optionally loaded demonstration data + 'demo': [ + 'demo_data.xml', + ], + } + Available manifest fields are: ``name`` (``str``, required) |
