diff options
| author | Laurent Contzen <lco@odoo.com> | 2019-04-11 09:48:35 +0000 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-08-05 12:21:00 +0000 |
| commit | bbb1a8f151b07d0125fc6d7d89375aa22681aac5 (patch) | |
| tree | bf5ccedb87685b8901ad30c10742a1ae7c4adcd6 /odoo/addons/base/tests/test_float.py | |
| parent | 6edb18be0d58a77c760668c006307ddf7dfd4935 (diff) | |
[IMP] ORM: Add new --upgrades-paths CLI option
This commit adds a new way to use upgrades scripts folders
whithout needing to symlink them to an hardcoded path.
The folders specified in --upgrades-paths is then being used by
migration.py to find and execute migrations scripts per module
specified in the -u CLI option.
The folder needs to have the following structure:
- <upgrades_paths folder 1>
- <module1 name>
- <version1>
- <script1>
- <script2>
- ...
- <scriptn>
- <version2>
- <scripts>
- <module2 name>
- <versions>
- <scripts>
- ...
- <upgrades_paths folder 2>
- ...
Update odoo/tools/config.py
Co-Authored-By: Olivier Dony <odony@users.noreply.github.com>
Diffstat (limited to 'odoo/addons/base/tests/test_float.py')
0 files changed, 0 insertions, 0 deletions
