GTK Client closes when opening external URL
Bug #919980 reported by
jordg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP sa GTK client R&D |
Bug Description
In my attempts to open a URL I have come across this issue.
Using the google_maps module for example.
On the web client it opens a new tab and displays the map.
On the GTK client pressing the button closes the client and opens the web page.
if url:
This is on V6.1rc1
Alternatively if I use the wizard method the GTK client works OK but the web client does nothing.
See http://
affects: | openobject-client-web → openobject-client |
Changed in openobject-client: | |
assignee: | nobody → OpenERP sa GTK client R&D (openerp-dev-gtk) |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
This is a bit more serious than Low
Version 6.1
This also happens with Google maps interface.
On the GTK Client interface under Sales->Address Book->Customers
Click on Customer, then click on Map button
URL opens in Web browser -> GTK Closes
In another case, I create a button in a list open_mo" type="object" string="Open" icon="gtk-open" help="Open this MO"/>
<button name="button_
def button_ open_mo( self, cr, uid, ids, context):
production_ id = self.browse(cr, uid, ids)[0] .production_ id.id
logger. info("% s.button_ open_mo( ): ids = %s : production_id = %s : context = %s", self._name, ids, production_id, context) get('ir. model.data' ) get_object_ reference( cr, uid, 'mrp', 'mrp_production _form_view' ) act_window' ,
'view_ type': 'form',
'view_ mode': 'form',
'res_ model': 'mrp.production',
'domain' : str([('id', 'in', production_id)]),
'views' : [(form_id, 'form')],
'view_ id': 'mrp_production _form_view' ,
'target' : 'self',
'res_ id': production_id,
mod_obj = self.pool.
form_res = mod_obj.
form_id = form_res and form_res[1] or False
return {
'type': 'ir.actions.
'name': _('Manufacturing Order'),
}
Again pressing button on list results in GTK Client closing immediately.