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:
@@ -59,9 +59,9 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
|||||||
_name: str = ...
|
_name: str = ...
|
||||||
_description: str = ...
|
_description: str = ...
|
||||||
_custom: bool = ...
|
_custom: bool = ...
|
||||||
_inherit: List[str]
|
_inherit: Any
|
||||||
_inherits: Dict[str, str]
|
_inherits: Dict[str, str]
|
||||||
_table: Any = ...
|
_table: str = ...
|
||||||
_sequence: Any = ...
|
_sequence: Any = ...
|
||||||
_sql_constraints: list = ...
|
_sql_constraints: list = ...
|
||||||
_rec_name: Any = ...
|
_rec_name: Any = ...
|
||||||
@@ -244,7 +244,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
|||||||
def ensure_one(self): ...
|
def ensure_one(self): ...
|
||||||
def with_env(self, env: Any) -> BaseModel: ...
|
def with_env(self, env: Any) -> BaseModel: ...
|
||||||
def sudo(self, flag: bool = ...) -> BaseModel: ...
|
def sudo(self, flag: bool = ...) -> BaseModel: ...
|
||||||
def with_user(self, user: Any): ...
|
def with_user(self, user: Any) -> BaseModel: ...
|
||||||
def with_context(self, *args: Any, **kwargs: Any) -> BaseModel: ...
|
def with_context(self, *args: Any, **kwargs: Any) -> BaseModel: ...
|
||||||
def with_prefetch(self, prefetch_ids: Optional[Any] = ...) -> BaseModel: ...
|
def with_prefetch(self, prefetch_ids: Optional[Any] = ...) -> BaseModel: ...
|
||||||
def mapped(self, func: Any): ...
|
def mapped(self, func: Any): ...
|
||||||
|
|||||||
Reference in New Issue
Block a user