bzr revid: nch@tinyerp.com-20111213105146-fz6fejswta7mzfcp
This commit is contained in:
Naresh (OpenERP)
2011-12-13 16:21:46 +05:30
parent 978299a26c
commit e7f3e590b7
+1 -3
View File
@@ -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'