From d005b002eec32c336707aa653a698954b9009889 Mon Sep 17 00:00:00 2001 From: Trinh Anh Ngoc Date: Thu, 12 May 2022 15:22:18 +0700 Subject: [PATCH] Update request attributes --- odoo-stubs/http.pyi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/odoo-stubs/http.pyi b/odoo-stubs/http.pyi index 85ae4a8..d31611f 100644 --- a/odoo-stubs/http.pyi +++ b/odoo-stubs/http.pyi @@ -30,7 +30,8 @@ class WebRequest: endpoint: Any = ... endpoint_arguments: Any = ... auth_method: Any = ... - website = Environment()['website'] + website = Environment['website'] + lang = Environment['res.lang'] _cr: Cursor = ... _uid: int = ... _context: dict = ...