openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #00703
[Bug 680672] [NEW] [TRUNK][rev 3932]ir.actions.act_url ignore target
You have been assigned a bug task for a public bug by DBR (OpenERP) (dbr-openerp):
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.
** Affects: openobject-client-web
Importance: Low
Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
Status: Confirmed
--
[TRUNK][rev 3932]ir.actions.act_url ignore target
https://bugs.launchpad.net/bugs/680672
You received this bug notification because you are a member of OpenERP SA's Web Client R&D, which is a bug assignee.