Fix env call

This commit is contained in:
Trinh Anh Ngoc
2020-06-01 18:49:40 +07:00
parent 1de59c6d61
commit db84a1b9b9

View File

@@ -64,7 +64,7 @@ class Environment(Mapping):
def __eq__(self, other: Any) -> Any: ... def __eq__(self, other: Any) -> Any: ...
def __ne__(self, other: Any) -> Any: ... def __ne__(self, other: Any) -> Any: ...
def __hash__(self) -> Any: ... def __hash__(self) -> Any: ...
def __call__(self, cr: Optional[Any] = ..., user: Optional[Any] = ..., context: Optional[Any] = ..., su: Optional[Any] = ...): ... def __call__(self, cr: Optional[Any] = ..., user: Optional[Any] = ..., context: Optional[Any] = ..., su: Optional[Any] = ...) -> Environment: ...
def ref(self, xml_id: Any, raise_if_not_found: bool = ...): ... def ref(self, xml_id: Any, raise_if_not_found: bool = ...): ...
def is_superuser(self): ... def is_superuser(self): ...
def is_admin(self): ... def is_admin(self): ...