Update stubs

This commit is contained in:
Trinh Anh Ngoc
2024-07-21 21:13:06 +07:00
parent 2817fbd4f7
commit d5074def91
2 changed files with 5 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ class O2MValue(X2MValue):
def to_commands(self, convert_values=...) -> list: ...
class M2MValue(X2MValue):
def __init__(self, iterable_of_vals=...) -> None: ...
def to_commands(self) -> list: ...
class X2MProxy:

View File

@@ -170,7 +170,10 @@ 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]: ...
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:
python_translations: dict[tuple[str, str], dict]