c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #07195
[Bug 680672] Re: [TRUNK][rev 3932]ir.actions.act_url ignore target
Should be fixed as of revision 4061, could you try it out and report
back if there is any issue remaining on that front?
** Changed in: openobject-client-web
Status: In Progress => Fix Released
--
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:
Fix Released
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.
References