From 5419ecb7054368e83892471fc7f7186bad288b98 Mon Sep 17 00:00:00 2001 From: Laurent Mignon Date: Fri, 19 Sep 2014 09:57:28 +0200 Subject: [PATCH] [FIX] typo --- help_online/models/help_online.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help_online/models/help_online.py b/help_online/models/help_online.py index 9a4162ff..15e41a70 100644 --- a/help_online/models/help_online.py +++ b/help_online/models/help_online.py @@ -40,7 +40,7 @@ class HelpOnline(orm.TransientModel): ir_model = self.env['ir.model'] description = self.env[model]._description res = ir_model.name_search(model, operator='=') - if(res): + if res: description = res[0][1] name = self._get_view_name(model, view_type, domain, context) if self.page_exists(name):