Xavier ALT (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-client/6.0-opw-573646-xal into 
lp:openobject-client/6.0.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client/6.0-opw-573646-xal/+merge/102089

Hi
-- 
https://code.launchpad.net/~openerp-dev/openobject-client/6.0-opw-573646-xal/+merge/102089
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client/6.0-opw-573646-xal.
=== modified file 'bin/widget/screen/screen.py'
--- bin/widget/screen/screen.py	2012-01-24 10:31:18 +0000
+++ bin/widget/screen/screen.py	2012-04-16 11:50:22 +0000
@@ -647,6 +647,10 @@
         if self.current_view and self.current_view.view_type == 'tree' \
                 and not self.current_view.widget_tree.editable:
             self.switch_view(mode='form')
+        if self.current_view and self.current_view.view_type == 'tree' \
+                and self.current_view.widget_tree.editable and self.current_view:
+            # finish editing at current position
+            self.current_view.set_cursor()
         ctx = self.context.copy()
         ctx.update(context)
         model = self.models.model_new(default, self.action_domain, ctx)

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to