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:
@@ -52,6 +52,7 @@ class O2MValue(X2MValue):
|
|||||||
def to_commands(self, convert_values=...) -> list: ...
|
def to_commands(self, convert_values=...) -> list: ...
|
||||||
|
|
||||||
class M2MValue(X2MValue):
|
class M2MValue(X2MValue):
|
||||||
|
def __init__(self, iterable_of_vals=...) -> None: ...
|
||||||
def to_commands(self) -> list: ...
|
def to_commands(self) -> list: ...
|
||||||
|
|
||||||
class X2MProxy:
|
class X2MProxy:
|
||||||
|
|||||||
@@ -170,7 +170,10 @@ def trans_load_data(
|
|||||||
def get_locales(lang: str | None = ...) -> None: ...
|
def get_locales(lang: str | None = ...) -> None: ...
|
||||||
def resetlocale() -> str: ...
|
def resetlocale() -> str: ...
|
||||||
def load_language(cr: Cursor, lang: str) -> None: ...
|
def load_language(cr: Cursor, lang: str) -> None: ...
|
||||||
def get_po_paths(module_name: str, lang: str) -> list[str]: ...
|
def get_po_paths(module_name: str, lang: str) -> Iterator[str]: ...
|
||||||
|
def get_po_paths_env(
|
||||||
|
module_name: str, lang: str, env: Environment | None = ...
|
||||||
|
) -> Iterator[str]: ...
|
||||||
|
|
||||||
class CodeTranslations:
|
class CodeTranslations:
|
||||||
python_translations: dict[tuple[str, str], dict]
|
python_translations: dict[tuple[str, str], dict]
|
||||||
|
|||||||
Reference in New Issue
Block a user