From eaeba409552f2943a25717c4490302513db8fa2d Mon Sep 17 00:00:00 2001 From: ced <> Date: Wed, 30 May 2007 11:23:31 +0000 Subject: [PATCH] KERNEL: fix update menu icon bzr revid: ced-8b10222fc259ec5710404b358e03906a8204e545 --- bin/tools/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tools/convert.py b/bin/tools/convert.py index d5453d401f4..b375a339ba2 100644 --- a/bin/tools/convert.py +++ b/bin/tools/convert.py @@ -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':