[MERGE] lp: 876260
bzr revid: qdp-launchpad@openerp.com-20111114134811-j3cnvn6mcle869or
This commit is contained in:
commit
16006b42e3
|
@ -70,6 +70,9 @@ class res_config_configurable(osv.osv_memory):
|
|||
res = next.action_launch(context=context)
|
||||
res['nodestroy'] = False
|
||||
return res
|
||||
#if there is no next action and if html is in the context: reload instead of closing
|
||||
if 'html' in context:
|
||||
return {'type' : 'ir.actions.reload'}
|
||||
return {'type' : 'ir.actions.act_window_close'}
|
||||
|
||||
def start(self, cr, uid, ids, context=None):
|
||||
|
|
Loading…
Reference in New Issue