def open_student_form(self, cr, uid, ids, context=None):
    this = self.browse(cr, uid, ids, context=context)[0]
return {'type': 'ir.actions.act_window', 'name': 'Student', 'view_mode':
    'form', 'view_type': 'form', 'res_model': 'school.student', 'nodestroy':
    'true', 'res_id': this.student.id, 'views': [(False, 'form')]}
Контекст openerp в act_window