summaryrefslogtreecommitdiff
path: root/openerp/modules/__init__.py
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2011-05-25 18:06:07 +0200
committerVo Minh Thu <vmt@openerp.com>2011-05-25 18:06:07 +0200
commit2f6dff76900a87221bd7c10bd761beffff4669bd (patch)
tree28e6ee319db178822ac651243e265168a41162c7 /openerp/modules/__init__.py
parent959ff88d646546e8e353bfb6467334df60dcac45 (diff)
parent16ac84af68d91b177394a2249f8b866e45ce3de3 (diff)
[MERGE] moved around some code (preparing for some refactoring) (large diff).
bzr revid: vmt@openerp.com-20110525160607-45pq13910rduijkk
Diffstat (limited to 'openerp/modules/__init__.py')
-rw-r--r--openerp/modules/__init__.py44
1 files changed, 44 insertions, 0 deletions
diff --git a/openerp/modules/__init__.py b/openerp/modules/__init__.py
new file mode 100644
index 00000000000..171d8418269
--- /dev/null
+++ b/openerp/modules/__init__.py
@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
+# Copyright (C) 2010-2011 OpenERP s.a. (<http://openerp.com>).
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+""" Modules (also called addons) management.
+
+"""
+
+import openerp.modules.db
+import openerp.modules.graph
+import openerp.modules.loading
+import openerp.modules.migration
+import openerp.modules.module
+
+# TODO temporarily expose those things
+from openerp.modules.module import \
+ get_modules, get_modules_with_version, \
+ load_information_from_description_file, \
+ get_module_resource, zip_directory, \
+ get_module_path, initialize_sys_path, \
+ register_module_classes, init_module_models
+
+from openerp.modules.loading import load_modules
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: