This commit is contained in:
Trinh Anh Ngoc
2019-12-09 16:16:42 +07:00
parent 4f5e4e9216
commit 40f7b77380
69 changed files with 2163 additions and 3 deletions

View File

@@ -0,0 +1,48 @@
# Stubs for odoo.modules.module (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
MANIFEST_NAMES: Any
README: Any
ad_paths: Any
hooked: bool
loaded: Any
class AddonsHook:
def find_module(self, name: Any, path: Optional[Any] = ...): ...
def load_module(self, name: Any): ...
class OdooHook:
def find_module(self, name: Any, path: Optional[Any] = ...): ...
def load_module(self, name: Any): ...
def initialize_sys_path() -> None: ...
def get_module_path(module: Any, downloaded: bool = ..., display_warning: bool = ...): ...
def get_module_filetree(module: Any, dir: str = ...): ...
def get_resource_path(module: Any, *args: Any): ...
get_module_resource = get_resource_path
def get_resource_from_path(path: Any): ...
def get_module_icon(module: Any): ...
def module_manifest(path: Any): ...
def get_module_root(path: Any): ...
def load_information_from_description_file(module: Any, mod_path: Optional[Any] = ...): ...
def load_openerp_module(module_name: Any) -> None: ...
def get_modules(): ...
def get_modules_with_version(): ...
def adapt_version(version: Any): ...
def get_test_modules(module: Any): ...
class TestStream:
logger: Any = ...
r: Any = ...
def __init__(self, logger_name: str = ...) -> None: ...
def flush(self) -> None: ...
def write(self, s: Any) -> None: ...
current_test: Any
def run_unit_tests(module_name: Any, dbname: Any, position: str = ...): ...
def unwrap_suite(test: Any) -> None: ...