Set cursor to the new record when inserting in one2many for issue272

This commit is contained in:
Cédric Krier committed 2008-08-22 11:01:32 +02:00
1 parent 078648a2bd
commit 7eab1910b2
1 file changed
+1 -1
@@ -499,7 +499,7 @@ class One2Many(WidgetInterface):
idx += 1
self.screen.models.model_add(value, position=idx)
value.signal('record-changed', value.parent)
self.screen.display()
self.screen.display_next()
dia.new()
dia.destroy()
if sequence: