Thank to Red15 for his usefull help and for the solution. So the correct call to return is the following
return { 'domain': [('name','ilike',name)], 'name': 'Customer', 'view_type': 'form', 'view_mode': 'tree,form', 'views': [(tree_res_id,'tree'),(form_res_id,'form')], 'res_model': 'res.partner', 'type': 'ir.actions.act_window' } This works great!! With this wizard I can open form "form_res_id" and tree "tree_res_id" in place of the standard views. Thank again to Red15 for the solution. Zipgem -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=55022#55022 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users