From 375bd9c0a89d3238058f5543cdff93a6e00054e4 Mon Sep 17 00:00:00 2001 From: Trinh Anh Ngoc Date: Thu, 15 Jun 2023 21:33:37 +0700 Subject: [PATCH] Update stubs --- odoo-stubs/modules/module.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/odoo-stubs/modules/module.pyi b/odoo-stubs/modules/module.pyi index aa96197..7b2f34d 100644 --- a/odoo-stubs/modules/module.pyi +++ b/odoo-stubs/modules/module.pyi @@ -1,6 +1,8 @@ from types import ModuleType from typing import Any, Literal, MutableSequence +from odoo.addons.base.models.ir_module import Module + MANIFEST_NAMES: tuple[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_module_icon(module: str) -> str: ... +def get_module_icon_path(module: Module) -> str: ... def module_manifest(path: str) -> str | None: ... def read_manifest(addons_path: str, module: str): ... def get_module_root(path: str) -> str | None: ...