mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
from types import ModuleType
|
from types import ModuleType
|
||||||
from typing import Any, Literal, MutableSequence
|
from typing import Any, Literal, MutableSequence
|
||||||
|
|
||||||
|
from odoo.addons.base.models.ir_module import Module
|
||||||
|
|
||||||
MANIFEST_NAMES: tuple[str, ...]
|
MANIFEST_NAMES: tuple[str, ...]
|
||||||
README: list[str]
|
README: list[str]
|
||||||
|
|
||||||
@@ -32,6 +34,7 @@ get_module_resource = get_resource_path
|
|||||||
|
|
||||||
def get_resource_from_path(path: str) -> tuple[str, str, str] | None: ...
|
def get_resource_from_path(path: str) -> tuple[str, str, str] | None: ...
|
||||||
def get_module_icon(module: str) -> str: ...
|
def get_module_icon(module: str) -> str: ...
|
||||||
|
def get_module_icon_path(module: Module) -> str: ...
|
||||||
def module_manifest(path: str) -> str | None: ...
|
def module_manifest(path: str) -> str | None: ...
|
||||||
def read_manifest(addons_path: str, module: str): ...
|
def read_manifest(addons_path: str, module: str): ...
|
||||||
def get_module_root(path: str) -> str | None: ...
|
def get_module_root(path: str) -> str | None: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user