KERNEL: fix update menu icon
bzr revid: ced-8b10222fc259ec5710404b358e03906a8204e545
This commit is contained in:
parent
a462c4badf
commit
eaeba40955
|
@ -256,7 +256,7 @@ class xml_import(object):
|
|||
if view_id:
|
||||
cr.execute('SELECT type FROM ir_ui_view WHERE id=%d', (int(view_id),))
|
||||
action_mode, = cr.fetchone()
|
||||
cr.execute('SELECT view_mode FROM ir_act_window_view WHERE view_id=%d ORDER BY sequence LIMIT 1', (int(a_id),))
|
||||
cr.execute('SELECT view_mode FROM ir_act_window_view WHERE act_window_id=%d ORDER BY sequence LIMIT 1', (int(a_id),))
|
||||
if cr.rowcount:
|
||||
action_mode, = cr.fetchone()
|
||||
if action_type=='tree':
|
||||
|
|
Loading…
Reference in New Issue