mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Cleanup
This commit is contained in:
@@ -106,7 +106,6 @@ class BaseModel(metaclass=MetaModel):
|
|||||||
_log_access: bool
|
_log_access: bool
|
||||||
_ids: tuple
|
_ids: tuple
|
||||||
_prefetch_ids: Iterable[int]
|
_prefetch_ids: Iterable[int]
|
||||||
__base_classes: tuple[type[BaseModel] | type, ...]
|
|
||||||
env: Environment = ...
|
env: Environment = ...
|
||||||
pool: Registry
|
pool: Registry
|
||||||
id = fields.Id()
|
id = fields.Id()
|
||||||
@@ -142,13 +141,9 @@ class BaseModel(metaclass=MetaModel):
|
|||||||
def __new__(cls) -> None: ...
|
def __new__(cls) -> None: ...
|
||||||
def __init__(self, pool: Registry, cr: Cursor) -> None: ...
|
def __init__(self, pool: Registry, cr: Cursor) -> None: ...
|
||||||
def _is_an_ordinary_table(self) -> bool: ...
|
def _is_an_ordinary_table(self) -> bool: ...
|
||||||
def __ensure_xml_id(
|
|
||||||
self: _ModelT, skip: bool = ...
|
|
||||||
) -> Iterator[tuple[_ModelT, str | None]]: ...
|
|
||||||
def _export_rows(
|
def _export_rows(
|
||||||
self, fields: list[list[str]], *, _is_toplevel_call: bool = ...
|
self, fields: list[list[str]], *, _is_toplevel_call: bool = ...
|
||||||
) -> list[list]: ...
|
) -> list[list]: ...
|
||||||
__export_rows = _export_rows
|
|
||||||
def export_data(self, fields_to_export: list[str]) -> dict[str, list[list]]: ...
|
def export_data(self, fields_to_export: list[str]) -> dict[str, list[list]]: ...
|
||||||
def load(self, fields: list[str], data: list[list[str]]) -> dict[str, Any]: ...
|
def load(self, fields: list[str], data: list[list[str]]) -> dict[str, Any]: ...
|
||||||
def _add_fake_fields(
|
def _add_fake_fields(
|
||||||
|
|||||||
Reference in New Issue
Block a user