Mohammed Shekha(Open ERP) has proposed merging 
lp:~openerp-dev/openobject-client-web/6.0-opw-574167-msh into 
lp:openobject-client-web.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-574167-msh/+merge/104898

Hello,

Fixed the issue of reloading on cancel button, as we have passed False in 
close_popup.

As this creating some problems like when you have install module from list view 
by using object buttons, after installing the module when you click "Cancel" 
buttons it will not reload the view and module still shown in 'To be install' 
state.

So changed the code to behave like GTK, as GTK reloads the view on Cancel 
button.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-574167-msh/+merge/104898
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client-web/6.0-opw-574167-msh.
=== modified file 'addons/openerp/controllers/form.py'
--- addons/openerp/controllers/form.py	2012-03-20 12:19:28 +0000
+++ addons/openerp/controllers/form.py	2012-05-07 12:46:23 +0000
@@ -506,7 +506,7 @@
                 return res
 
         import actions
-        return actions.close_popup(reload=False)
+        return actions.close_popup(reload=True)
     def button_action_save(self, _, params):
         params.id = False
         params.button = None

_______________________________________________
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