From e1afa940e0174f74c1b65a7a18b8cd8d12514e97 Mon Sep 17 00:00:00 2001 From: Trinh Anh Ngoc Date: Thu, 12 Dec 2019 08:53:33 +0700 Subject: [PATCH] Update --- odoo-stubs/http.pyi | 2 +- odoo-stubs/models.pyi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/odoo-stubs/http.pyi b/odoo-stubs/http.pyi index 71f1578..6e83fa3 100644 --- a/odoo-stubs/http.pyi +++ b/odoo-stubs/http.pyi @@ -88,7 +88,7 @@ controllers_per_module: Any class ControllerType(type): def __init__(cls, name: Any, bases: Any, attrs: Any) -> None: ... -Controller: Any +Controller: Any = ... class EndPoint: method: Any = ... diff --git a/odoo-stubs/models.pyi b/odoo-stubs/models.pyi index 913857b..4a63e8e 100644 --- a/odoo-stubs/models.pyi +++ b/odoo-stubs/models.pyi @@ -59,7 +59,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})): _cr: Cursor _uid: int id: int - env: Environment + env: Environment = ... pool: Registry display_name: str create_uid = env['res.users']