From 0081dd12fc6ba938ea76c927296109b5c381b8d3 Mon Sep 17 00:00:00 2001 From: Trinh Anh Ngoc Date: Thu, 4 Nov 2021 11:26:26 +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 7ff9ba4..113fea5 100644 --- a/odoo-stubs/tests/common.pyi +++ b/odoo-stubs/tests/common.pyi @@ -208,7 +208,7 @@ class Form: _OPS: Any def _get_context(self, field): ... def __setattr__(self, field, value) -> None: ... - def __enter__(self): ... + def __enter__(self) -> Form: ... def __exit__(self, etype, _evalue, _etb) -> None: ... def save(self): ... def _values_to_save(self, all_fields: bool = ...): ...