title: How to create Openerp Report
body: <p>I have a simple module in openerp, and I need report for that module. I have searched many links but I can't get exact answer.
  Here my source code.</p>
  
  <p><em>init</em>.py</p>
  
  <pre><code>import sim
  </code></pre>
  
  <p><em>openerp_</em>.py</p>
  
  <pre><code>{
      'name': 'Student Information Management',
      'version': '0.1',
      'category': 'Tools',
      'description': """This module is for the Student Information Management.""",
      'author': 'Mr Praveen Srinivasan',
      'website': 'http://praveenlearner.wordpress.com/',
      'depends': ['base'],
      'data': ['sim_view.xml'],
      'demo': [],
      'installable': True,
      'auto_install': False,
      'application': True,
  }
  </code></pre>
  
  <p>sim.py</p>
  
  <pre><code>from openerp.osv import fields, osv
  class student(osv.osv):
  _name = "sim.student"
  _description = "This table is for keeping personal data of student"
  _columns = {
      'reg_no': fields.integer('Registration Number',size=7,required=True),
      'student_name': fields.char('Student Name',size=25,required=True),
      'father_name': fields.char("Father's Name",size=25),
      'gender':fields.selection([('male','Male'),('female','Female')],'Gender'),
      'contact_no':fields.char('Contact Number',size=10),
      'address':fields.char('Address',size=256)
  }
  _sql_constraints = [
  ('uniq_name', 'unique(reg_no)', 'This Reg.No is number already registered!') 
  ]
  
  student()
  </code></pre>
  
  <p>sim_view.xml</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;openerp&gt;
  &lt;data&gt;
  &lt;!-- ============== student================= --&gt;
  &lt;!-- 1st part of the sim_view start--&gt;
  &lt;record model="ir.ui.view" id="student_form"&gt;
  &lt;field name="name"&gt;Student&lt;/field&gt;
  &lt;field name="model"&gt;sim.student&lt;/field&gt;
  &lt;field name="type"&gt;form&lt;/field&gt;
  &lt;field name="arch" type="xml"&gt;
  &lt;form string="Student" version="7.0"&gt;
  &lt;group&gt;
  &lt;field name="reg_no"/&gt;
  &lt;field name="student_name"/&gt;
  &lt;field name="father_name"/&gt;
  &lt;field name="gender"/&gt;
  &lt;field name="contact_no"/&gt;
  &lt;field name="address"/&gt;
  &lt;/group&gt;
  &lt;/form&gt;
  &lt;/field&gt;
  &lt;/record&gt;
  &lt;!-- 1st part of the sim_view end--&gt;
  
  &lt;!--2nd part of the sim_view start--&gt;
  &lt;record model="ir.ui.view" id="student_tree"&gt;
  &lt;field name="name"&gt;Student&lt;/field&gt;
  &lt;field name="model"&gt;sim.student&lt;/field&gt;
  &lt;field name="type"&gt;tree&lt;/field&gt;
  &lt;field name="arch" type="xml"&gt;
  &lt;tree string="Student"&gt;
  &lt;field name="reg_no"/&gt;
  &lt;field name="student_name"/&gt;
  &lt;field name="father_name"/&gt;
  &lt;field name="gender"/&gt;
  &lt;field name="contact_no"/&gt;
  &lt;field name="address"/&gt;
  &lt;/tree&gt;
  &lt;/field&gt;
  &lt;/record&gt;
  &lt;!--2nd part of the sim_view end--&gt;
  
  &lt;!-- 3rd part of the sim_view start--&gt;
  &lt;record model="ir.actions.act_window" id="action_student"&gt;
  &lt;field name="name"&gt;Student&lt;/field&gt;
  &lt;field name="res_model"&gt;sim.student&lt;/field&gt;
  &lt;field name="view_type"&gt;form&lt;/field&gt;
  &lt;field name="view_mode"&gt;tree,form&lt;/field&gt;
  &lt;/record&gt;
  &lt;!--3rd part of the sim_view end--&gt;
  
  &lt;!--4th part of the sim_view start--&gt;
  &lt;menuitem name="SIM/Student/StudentInfo" id="menu_sim_student"  
        action="action_student"/&gt;
  &lt;!--4th part of the sim_view end--&gt;
  &lt;/data&gt;
  &lt;/openerp&gt;
  </code></pre>
  
  <p>This module works fine. But I don't know how to create Report for this. Please suggest any answer.</p>