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:
@@ -42,8 +42,10 @@ class NewId:
|
||||
def __eq__(self, other: Any) -> Any: ...
|
||||
def __hash__(self) -> Any: ...
|
||||
def __repr__(self): ...
|
||||
def __str__(self): ...
|
||||
|
||||
def origin_ids(ids: Any): ...
|
||||
def expand_ids(id0: Any, ids: Any) -> None: ...
|
||||
|
||||
IdType: Any
|
||||
PREFETCH_MAX: int
|
||||
@@ -63,6 +65,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
_inherit: Any = ...
|
||||
_inherits: Any = ...
|
||||
_table: Any = ...
|
||||
_table_query: Any = ...
|
||||
_sequence: Any = ...
|
||||
_sql_constraints: Any = ...
|
||||
_rec_name: Any = ...
|
||||
@@ -75,6 +78,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
_needaction: bool = ...
|
||||
_translate: bool = ...
|
||||
_check_company_auto: bool = ...
|
||||
_depends: Any = ...
|
||||
_transient_max_count: Any = ...
|
||||
_transient_max_hours: Any = ...
|
||||
env: Environment = ...
|
||||
@@ -158,7 +162,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
def _read_group_raw(self, domain: Any, fields: Any, groupby: Any, offset: int = ..., limit: Optional[Any] = ..., orderby: bool = ..., lazy: bool = ...): ...
|
||||
def _read_group_resolve_many2one_fields(self, data: Any, fields: Any) -> None: ...
|
||||
def _inherits_join_add(self, current_model: Any, parent_model_name: Any, query: Any): ...
|
||||
def _inherits_join_calc(self, alias: Any, fname: Any, query: Any, implicit: bool = ..., outer: bool = ...): ...
|
||||
def _inherits_join_calc(self, alias: Any, fname: Any, query: Any): ...
|
||||
def _parent_store_compute(self): ...
|
||||
def _check_removed_columns(self, log: bool = ...) -> None: ...
|
||||
def _init_column(self, column_name: Any) -> None: ...
|
||||
@@ -222,11 +226,12 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
_get_xml_ids: Any = ...
|
||||
@classmethod
|
||||
def is_transient(cls): ...
|
||||
def search_read(self, domain: Optional[Any] = ..., fields: Optional[Any] = ..., offset: int = ..., limit: Optional[Any] = ..., order: Optional[Any] = ...): ...
|
||||
def search_read(self, domain: Optional[Any] = ..., fields: Optional[Any] = ..., offset: int = ..., limit: Optional[Any] = ..., order: Optional[Any] = ..., **read_kwargs: Any): ...
|
||||
def toggle_active(self) -> None: ...
|
||||
def action_archive(self): ...
|
||||
def action_unarchive(self): ...
|
||||
def _register_hook(self) -> None: ...
|
||||
def _unregister_hook(self) -> None: ...
|
||||
@classmethod
|
||||
def _patch_method(cls, name: Any, method: Any) -> None: ...
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user