Fix translation plugin for issue1955
Since the merge of tree and list view, view_type doesn't exist anymore
This commit is contained in:
1 parent
fb02ad5e68
commit
2c175cb6ae
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user