The function invokes methods `_auto_init`, `init` and `_auto_end` on models, and now uses the new API. This enables to define those methods in the new API.
16 lines
546 B
Python
16 lines
546 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
""" Modules (also called addons) management.
|
|
|
|
"""
|
|
|
|
from . import db, graph, loading, migration, module, registry
|
|
|
|
from openerp.modules.loading import load_modules
|
|
|
|
from openerp.modules.module import get_modules, get_modules_with_version, \
|
|
load_information_from_description_file, get_module_resource, get_module_path, \
|
|
initialize_sys_path, load_openerp_module, init_models, adapt_version, \
|
|
get_resource_path, get_resource_from_path
|