Edit record when row activate if there is no tree_open action defined
This commit is contained in:
1 parent
1f3890f13e
commit
e2fe51018e
1 file changed
+2
@@ -286,6 +286,8 @@ class Tree(SignalEvent):
|
||||
self.tree_res.view.collapse_row(iter)
|
||||
else:
|
||||
self.tree_res.view.expand_row(iter, False)
|
||||
if self.model != 'ir.ui.menu':
|
||||
self.sig_edit()
|
||||
|
||||
def sig_key_press(self, widget, event):
|
||||
if event.keyval == gtk.keysyms.Left:
|
||||
|
||||
Reference in new issue
Block a user