Browse Source

[FIX] typo

pull/40/head
Laurent Mignon 10 years ago
parent
commit
5419ecb705
  1. 2
      help_online/models/help_online.py

2
help_online/models/help_online.py

@ -40,7 +40,7 @@ class HelpOnline(orm.TransientModel):
ir_model = self.env['ir.model'] ir_model = self.env['ir.model']
description = self.env[model]._description description = self.env[model]._description
res = ir_model.name_search(model, operator='=') res = ir_model.name_search(model, operator='=')
if(res):
if res:
description = res[0][1] description = res[0][1]
name = self._get_view_name(model, view_type, domain, context) name = self._get_view_name(model, view_type, domain, context)
if self.page_exists(name): if self.page_exists(name):

Loading…
Cancel
Save