Fix translation plugin for issue1955

Since the merge of tree and list view, view_type doesn't exist anymore
This commit is contained in:
Cédric Krier committed 2011-04-16 18:45:55 +02:00
1 parent fb02ad5e68
commit 2c175cb6ae
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ _ = gettext.gettext
def translate_view(datas, parent):
model = datas['model']
Window.create(False, 'ir.translation', res_id=False,
domain=[('model', '=', model)], view_type='form',
domain=[('model', '=', model)],
mode=['tree', 'form'], window=parent)
def get_plugins(model):