From 0f9a5a1b0581f0abbbee2972d69d912b5e70f99d Mon Sep 17 00:00:00 2001 From: "Bhumi Thakkar (Open ERP)" Date: Mon, 9 Jul 2012 11:59:55 +0530 Subject: [PATCH] [FIX] lang is removed from context when new action is created in add to dashboard method. bzr revid: bth@tinyerp.com-20120709062955-tk0np32k5h9qagn3 --- addons/web/controllers/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index b89bac53854..81e4e297d07 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1354,6 +1354,7 @@ class SearchView(View): xml = ElementTree.fromstring(board['arch']) column = xml.find('./board/column') if column is not None: + ctx.pop('lang') new_action = ElementTree.Element('action', { 'name' : str(action_id), 'string' : name,