Update stubs

This commit is contained in:
Trinh Anh Ngoc
2023-10-28 20:46:36 +07:00
parent efcf20bd41
commit 4605f7ed56

View File

@@ -192,6 +192,15 @@ class BaseModel(metaclass=MetaModel):
order: str | None = ...,
count: Literal[True] = ...,
) -> int: ...
@overload
def search(
self: _ModelT,
domain: list,
offset: int = ...,
limit: int | None = ...,
order: str | None = ...,
count: bool = ...,
) -> int | _ModelT: ...
def _compute_display_name(self) -> None: ...
def name_get(self) -> list[tuple[int, str]]: ...
def name_create(self, name: str) -> tuple[int, str]: ...