From 3cc63c8b125a7c44424e1c9aab89531ce143eea5 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 28 Jul 2020 10:30:40 +0200 Subject: [PATCH] [FIX] contract: return qcontext result MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Duh... 🤓 Obvious regression from #535 @Tecnativa TT24657 --- contract/models/ir_ui_view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contract/models/ir_ui_view.py b/contract/models/ir_ui_view.py index 8e619cda0..6897ad1c1 100644 --- a/contract/models/ir_ui_view.py +++ b/contract/models/ir_ui_view.py @@ -16,3 +16,4 @@ class IrUiView(models.Model): result["res_company"] = self.env["res.company"].browse( self.env.context["allowed_company_ids"][0] ).sudo() + return result