summaryrefslogtreecommitdiff
path: root/odoo/upgrade
diff options
context:
space:
mode:
authorXavier-Do <xdo@odoo.com>2020-02-03 14:19:56 +0000
committerChristophe Simonis <chs@odoo.com>2020-02-04 13:19:02 +0000
commit9c26d4d8707f3ccad4284c597b52bd2bd18f72dc (patch)
treef8bd5bf5d6e91bbded17d6b7f19da9274b94fbc0 /odoo/upgrade
parent39018e751519c7edd5c3c58bcb3ef2942ec80064 (diff)
[IMP] core: rename upgrades-paths to upgrade-path
Since this option is soon to be used, this rename is a last tweek to make it more logical to use since it will point to a single upgrade dir most of the time. closes odoo/odoo#44593 X-original-commit: 1c8e2809fb296abce6114b7da906d48a240df418 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'odoo/upgrade')
-rw-r--r--odoo/upgrade/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/odoo/upgrade/__init__.py b/odoo/upgrade/__init__.py
new file mode 100644
index 00000000000..5fb18447da2
--- /dev/null
+++ b/odoo/upgrade/__init__.py
@@ -0,0 +1,6 @@
+import pkgutil
+import os.path
+__path__ = [
+ os.path.abspath(path)
+ for path in pkgutil.extend_path(__path__, __name__)
+]