lp bug: https://launchpad.net/bugs/901601 fixed
bzr revid: nch@tinyerp.com-
20111209111336-8sqgc9z9ska1yer8
action_mode, = cr.fetchone()
if action_type=='tree':
values['icon'] = 'STOCK_INDENT'
- elif action_mode and action_mode.startswith('tree'):
+ elif action_mode and ( action_mode.startswith('tree')
+ or action_mode.startswith('kanban')
+ or action_mode.startswith('gantt')):
values['icon'] = 'STOCK_JUSTIFY_FILL'
elif action_mode and action_mode.startswith('graph'):
values['icon'] = 'terp-graph'