From 60842d0f0662f7bd6edc74d7ea0168b1d52b41d9 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 30 Jun 2011 08:48:31 +0200 Subject: [PATCH] [FIX] view_id should be a scalar bzr revid: xmo@openerp.com-20110630064831-ibfsljiwik52huj6 --- openerp/addons/base/res/res_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_config.py b/openerp/addons/base/res/res_config.py index 3f8c6f20b8d..f5dbdb4aaed 100644 --- a/openerp/addons/base/res/res_config.py +++ b/openerp/addons/base/res/res_config.py @@ -104,7 +104,7 @@ class res_config_configurable(osv.osv_memory): return { 'view_mode': action.view_mode, 'view_type': action.view_type, - 'view_id': action.view_id and [action.view_id.id] or False, + 'view_id': action.view_id and action.view_id.id or False, 'res_model': action.res_model, 'type': action.type, 'target': action.target,