[MERGE] Fix bug 901601, add default GTK icon for kanban/gantt actions
bzr revid: odo@openerp.com-20111213120225-o264d1wgwgz4ztvt
This commit is contained in:
commit
295cd51e38
|
@ -638,7 +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'):
|
||||
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'
|
||||
|
|
Loading…
Reference in New Issue