← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 702410] Re: [trunk version 4305] Wizard with return a action url dont work

 

More INFO

bug come from revision 4292


4291 
------
addons/openerp/controllers/wizard.py
Last modified: 10-09-20 7:27 AM, Status: modified, Kind: file

                if res.get('action') and res.get('action').get('res_model') == 'ir.ui.menu' and res['state'] == 'end':
                    return self.end()
                act_res = actions.execute(res['action'], **datas)
                if act_res:
                    return act_res

                state = res['state']

4292
------
addons/openerp/controllers/wizard.py
Last modified: 11-01-11 2:21 AM, Status: modified, Kind: file

                if res.get('action') and res.get('action').get('res_model') == 'ir.ui.menu' and res['state'] == 'end':
                    return self.end()
                act_res = actions.execute(res['action'], **datas)

                state = res['state']


-------
The return act_res removed, for that now action url dont work

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/702410

Title:
  [trunk version 4305] Wizard with return a action url dont work

Status in OpenObject Web Client:
  New

Bug description:
  In add/openerp/controllers/wizard.py

  Class Wizard
  Function  execute
  Line 129

  action return

  act_res = u'<script type="text/javascript">\n
  window.open(\'/medical/map/get?ids=[28, 32, 1]\')\n
  </script>\n"

  but i look in code and act_res never used, i add a

  return act_res

  , and now new table open like i want.

  But .... dunno the impact of this on other function, i let you decide
  how solve the problem, but if no "return act_res" the action url never
  executed.

  
  Is a major bug for us, because we use that to locate all partner on a google map, at the moment is impossible to locate partner.





References