diff options
| author | Pedro M. Baeza <pedro.baeza@gmail.com> | 2018-10-21 00:04:37 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2018-10-23 18:43:59 +0200 |
| commit | c0e35f84e23ebda8ea6033711ded5638ef309da2 (patch) | |
| tree | c25cb6da4f4d268c5d0512299fe055a39562f74b /odoo | |
| parent | d5cc05c9948c744f8f011250380cea20f9f859b2 (diff) | |
[FIX] migration: use correct migration prefix in docstring
Migration files must contain `-` in its name for being executed
Diffstat (limited to 'odoo')
| -rw-r--r-- | odoo/modules/migration.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odoo/modules/migration.py b/odoo/modules/migration.py index 7f86b73a0da..78025cbfa11 100644 --- a/odoo/modules/migration.py +++ b/odoo/modules/migration.py @@ -25,8 +25,8 @@ class MigrationManager(object): function. Theses files must respect a directory tree structure: A 'migrations' folder which containt a folder by version. Version can be 'module' version or 'server.module' version (in this case, the files will only be processed by this version of the server). - Python file names must start by `pre` or `post` and will be executed, respectively, - before and after the module initialisation. `end` scripts are run after all modules have + Python file names must start by `pre-` or `post-` and will be executed, respectively, + before and after the module initialisation. `end-` scripts are run after all modules have been updated. Example: <moduledir> |
