From 867a7ad35a1477cabcb87b1fc57797376e235259 Mon Sep 17 00:00:00 2001 From: Trinh Anh Ngoc Date: Thu, 4 Nov 2021 11:26:10 +0700 Subject: [PATCH] Update test form stub --- odoo-stubs/tests/common.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo-stubs/tests/common.pyi b/odoo-stubs/tests/common.pyi index 343ebf3..24259f6 100644 --- a/odoo-stubs/tests/common.pyi +++ b/odoo-stubs/tests/common.pyi @@ -157,7 +157,7 @@ class Form: _OPS: Any = ... def _get_context(self, field: Any): ... def __setattr__(self, field: Any, value: Any) -> None: ... - def __enter__(self): ... + def __enter__(self) -> Form: ... def __exit__(self, etype: Any, _evalue: Any, _etb: Any) -> None: ... def save(self): ... def _values_to_save(self, all_fields: bool = ...): ...