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:
@@ -60,6 +60,14 @@ class Cursor(BaseCursor):
|
||||
def dictfetchall(self) -> list[dict[str, Any]]: ...
|
||||
def __del__(self) -> None: ...
|
||||
def execute(self, query, params: Any | None = ..., log_exceptions: bool = ...): ...
|
||||
def execute_values(
|
||||
self,
|
||||
query,
|
||||
argslist,
|
||||
template: Any | None = ...,
|
||||
page_size: int = ...,
|
||||
fetch: bool = ...,
|
||||
): ...
|
||||
def split_for_in_conditions(
|
||||
self, ids: Iterable, size: int | None = ...
|
||||
) -> Iterator[tuple]: ...
|
||||
|
||||
@@ -160,6 +160,7 @@ def trans_load_data(
|
||||
def get_locales(lang: str | None = ...) -> None: ...
|
||||
def resetlocale() -> str: ...
|
||||
def load_language(cr: Cursor, lang: str) -> None: ...
|
||||
def get_po_paths(module_name: str, lang: str) -> list[str]: ...
|
||||
|
||||
class CodeTranslations:
|
||||
python_translations: dict[tuple[str, str], dict]
|
||||
|
||||
Reference in New Issue
Block a user