summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2016-09-02 13:24:09 +0200
committerOlivier Dony <odo@openerp.com>2016-09-05 11:57:50 +0200
commit4339196e5231aa734a0154e2f4e88b2e54f27d48 (patch)
treea5e140610e000ced1fccea3cf24358efc6f06883 /doc/reference
parentc0566b289608f2ebb97ece4683440a551c8db9b9 (diff)
[IMP] support v10 manifest file naming convention
- As of v10, manifest files should be named `__manifest__.py` - For backwards-compatibility, __openerp__.py manifest files will still be supported for the time being - Limited refactoring, to add support for the 2 different naming conventions - All textual references to __openerp_.py updated in documentation and examples
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/guidelines.rst2
-rw-r--r--doc/reference/module.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/reference/guidelines.rst b/doc/reference/guidelines.rst
index 5ae52963b42..8a1831c469d 100644
--- a/doc/reference/guidelines.rst
+++ b/doc/reference/guidelines.rst
@@ -95,7 +95,7 @@ The complete tree should look like
addons/<my_module_name>/
|-- __init__.py
- |-- __openerp__.py
+ |-- __manifest__.py
|-- controllers/
| |-- __init__.py
| |-- <inherited_module_name>.py
diff --git a/doc/reference/module.rst b/doc/reference/module.rst
index d4ce37a1862..010e10e2095 100644
--- a/doc/reference/module.rst
+++ b/doc/reference/module.rst
@@ -14,7 +14,7 @@ Manifest
The manifest file serves to declare a python package as an Odoo module
and to specify module metadata.
-It is a file called ``__openerp__.py`` and contains a single Python
+It is a file called ``__manifest__.py`` and contains a single Python
dictionary, where each key specifies module metadatum.
::