** Changed in: openobject-client-web
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, 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/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to