From e7f3e590b7eea2f041591b69be9ca877ff0428e1 Mon Sep 17 00:00:00 2001 From: "Naresh (OpenERP)" Date: Tue, 13 Dec 2011 16:21:46 +0530 Subject: [PATCH] [REF]: bzr revid: nch@tinyerp.com-20111213105146-fz6fejswta7mzfcp --- openerp/tools/convert.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openerp/tools/convert.py b/openerp/tools/convert.py index cad34d0e1f9..58d869bb8bd 100644 --- a/openerp/tools/convert.py +++ b/openerp/tools/convert.py @@ -638,9 +638,7 @@ form: module.record_id""" % (xml_id,) action_mode, = cr.fetchone() if action_type=='tree': values['icon'] = 'STOCK_INDENT' - elif action_mode and ( action_mode.startswith('tree') - or action_mode.startswith('kanban') - or action_mode.startswith('gantt')): + elif action_mode and ( action_mode.startswith(('tree','kanban','gantt'))): values['icon'] = 'STOCK_JUSTIFY_FILL' elif action_mode and action_mode.startswith('graph'): values['icon'] = 'terp-graph'