[TRUNK][rev 3932]ir.actions.act_url ignore target
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Fix Released
|
Low
|
OpenERP R&D Web Team |
Bug Description
Action to open a url ignore the target
url = "/medical/
value = {
}
for the moment i modify the function execute_url in action.py
if url.startswith('http://
change by
if url.startswith('http://
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.
Related branches
- Xavier (Open ERP) (community): Disapprove
-
Diff: 59 lines (+21/-3)3 files modifiedaddons/openerp/controllers/actions.py (+7/-2)
addons/openerp/controllers/templates/report.mako (+1/-0)
addons/openerp/static/javascript/openerp/openerp.base.js (+13/-1)
description: | updated |
Changed in openobject-client-web: | |
assignee: | nobody → OpenERP SA's Web Client R&D (openerp-dev-web) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-client-web: | |
status: | Confirmed → In Progress |
Changed in openobject-client-web: | |
status: | In Progress → Fix Released |
milestone: | none → 6.0-rc2 |
Changed in openobject-client-web: | |
status: | Fix Released → In Progress |
i will explain what controller do
in partner view, i select some partner, click on the wizard, wizard pass ids selected to controller, controller collect the information about each parner (name,street, phone,latitude, longitude) , controler create param to pass to template(mako) , generate a html code to open googles maps and all partner selected marker on it.
if i write in address bar http:// localhost: 8080/medical/ map/get? ids=[1, 2,3,4,5] that will generate a google map with all partner on it, this work fine
if i do it with wizard, blank page
if i do it after my modification to open in new windows, map open in new tab but the search view of partner disappear(all menu in other thing no disappear)