Hello Serge,

We have fixed the problem in 
lp:~openerp-dev/openobject-client-web/ir_action_act_url
It will be merged soon in lp:openobject-client-web.

Revision No: 3955

Thanks

-- 
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/680672

Title:
  [TRUNK][rev 3932]ir.actions.act_url ignore target

Status in OpenObject Web Client:
  In Progress

Bug description:
  Action to open a url ignore the target
url = "/medical/map/get?ids=%s" % data['ids']
        value = {
                 'type': 'ir.actions.act_url',
                 'url':url,
                 'target': 'new'
                 }

for the moment i modify the function execute_url in action.py

if url.startswith('http://') or url.startswith('http://'):

change by

if url.startswith('http://') or url.startswith('http://') or 
data['target']=='new' :

that work fine, link now open in new windows, but in the main windows the frame 
of the search view disappear.

If i try with no change: when i click to open the link, webpage turn blank with 
no source (view source, source empty).

i trace the code and all look fine, controller return params, template generate 
page, but nothing appear.

i hope you understand me.





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

Reply via email to