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:
@@ -457,6 +457,7 @@ class PropertiesDefinition(Field):
|
||||
prefetch: bool
|
||||
REQUIRED_KEYS: tuple[str, ...]
|
||||
ALLOWED_KEYS: tuple[str, ...]
|
||||
PROPERTY_PARAMETERS_MAP: dict[str, set[str]]
|
||||
def convert_to_column(
|
||||
self, value, record: BaseModel, values: Any | None = ..., validate: bool = ...
|
||||
): ...
|
||||
|
||||
@@ -285,6 +285,7 @@ class HttpDispatcher(Dispatcher):
|
||||
class JsonRPCDispatcher(Dispatcher):
|
||||
routing_type: str
|
||||
jsonrequest: dict
|
||||
request_id: object
|
||||
def __init__(self, request: Request) -> None: ...
|
||||
@classmethod
|
||||
def is_compatible_with(cls, request: Request) -> bool: ...
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
from types import ModuleType
|
||||
from typing import Any, Literal, MutableSequence
|
||||
|
||||
from odoo.addons.base.models.ir_module import Module
|
||||
|
||||
from ..tools import pycompat as pycompat
|
||||
|
||||
MANIFEST_NAMES: tuple[str, ...]
|
||||
@@ -34,6 +36,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 get_module_root(path: str) -> str | None: ...
|
||||
def load_manifest(module: str, mod_path: str | None = ...) -> dict[str, Any]: ...
|
||||
|
||||
Reference in New Issue
Block a user