Paramjit Singh Sahota(OpenERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-bug-1047911-psa into lp:openerp-web.

Requested reviews:
  OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
  Bug #1047911 in OpenERP Web: "Error on page reload after a tree_but_open"
  https://bugs.launchpad.net/openerp-web/+bug/1047911

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1047911-psa/+merge/125635

Hello,

I had improved the code for the issue where "active_ids" is lost after the 
reload is done in tree view.

Thankz You,
 -PSA.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1047911-psa/+merge/125635
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-bug-1047911-psa.
=== modified file 'addons/web/controllers/main.py'
--- addons/web/controllers/main.py	2012-09-20 09:34:57 +0000
+++ addons/web/controllers/main.py	2012-09-21 06:00:25 +0000
@@ -409,6 +409,7 @@
 
     if not do_not_eval:
         # values come from the server, we can just eval them
+        action['context'] = context
         if action.get('context') and isinstance(action.get('context'), basestring):
             action['context'] = eval( action['context'], eval_ctx ) or {}
 

_______________________________________________
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