Use selected id as ids for tree_open action

This commit is contained in:
Cédric Krier committed 2011-04-11 13:18:38 +02:00
1 parent 374635011b
commit 36cf5ee848
1 file changed
+1 -1
+1 -1
View File
@@ -280,7 +280,7 @@ class Screen(SignalEvent):
return Action.exec_keyword('tree_open', self.window, {
'model': self.model_name,
'id': self.id_get(),
'ids': self.ids_get(),
'ids': [self.id_get()],
}, context=self.context.copy(), warning=False)
else:
self.switch_view(view_type='form')