Use selected id as ids for tree_open action
This commit is contained in:
1 parent
374635011b
commit
36cf5ee848
1 file changed
+1
-1
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user