[FIX] lang is removed from context when new action is created in add to dashboard method.

bzr revid: bth@tinyerp.com-20120709062955-tk0np32k5h9qagn3
This commit is contained in:
Bhumi Thakkar (Open ERP)
2012-07-09 11:59:55 +05:30
parent e9961bec5f
commit 0f9a5a1b05
+1
View File
@@ -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,