Comment 0 for bug 1117364

Revision history for this message
Christopher Ormaza - (Ecuadorenlinea.net) (chris-ormaza) wrote :

hello! Just because it seems that the param nodestroy of ir.actions.act_window works in gtk client but not in web.
Do you know how to keep open a window of an osv_memory object (when the target is new) and open an other window with a form view? Lot of thanks if you have the solution.

for now my method called by a button return this:

return {
        'type': 'ir.actions.act_window',
        'name': 'Edit form',
        'view_mode': 'form',
        'view_type': 'form',
        'res_model': 'mymodule.myobject',
        'target': 'new',
        'nodestroy': True,
        }

It's working with the gtk client but not in the web interface.