title: How to generate report in this module odoo i have done this much?
body: <p>Everythin is working fine but i am not able to get report when i click on print button </p>
  
  <p>In feedback module i have following way of files <strong>, feedback_report.xml,hourly_feedback.py,hourly_feedback.xml,__init__.py ,__openerp__.py.Have views folder inside this ,report_hourly.xml</strong></p>
  
  <p>feedback_report.xml has following code .</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;openerp&gt;
      &lt;data&gt;
          &lt;report
              id="action_hourly_feedback"
              string="Hourly Report"
              model="hourly.form"
              report_type="qweb-pdf"
              name="hourly.form.report_hourly"
              file="hourly.form.report_hourly"
          /&gt;
      &lt;/data&gt;
  &lt;/openerp&gt;
  </code></pre>
  
  <p>hourly_feedback.py has following code</p>
  
  <pre><code>from openerp.osv import fields, osv
  from openerp import api
  import logging
  
  class hourly_form(osv.Model):
      _name = 'hourly.form'
      _rec_name = 'assetmodelid_add'
      _columns = {
  
          'assetmodelid_add' : fields.many2one('agile.portfolio1','Asset Model Code',),
          'folio_num1' : fields.many2one('asset.asset','Folio Num',),
          'inspection_name' : fields.many2one('asset1.inspection','Inspection Type'),
  
      }
  hourly_form()
  </code></pre>
  
  <p>hourly_feedback.xml has following code ,</p>
  
  <pre><code>&lt;record model='ir.ui.view' id="hour_event"&gt;
      &lt;field name="names"&gt;hourly.form.form&lt;/field&gt;
      &lt;field name="model"&gt;hourly.form&lt;/field&gt;
      &lt;field name="arch" type="xml"&gt;
          &lt;form string="Hours"&gt;
              &lt;group&gt;
  
                  &lt;field name="assetmodelid_add" /&gt;
                  &lt;field name="folio_num1" domain="[('assetmodelid_add', '=', assetmodelid_add)]"/&gt;
                  &lt;field name="inspection_name" domain="[('assetmodelid_add', '=', assetmodelid_add)]"/&gt;
  
              &lt;/group&gt;
          &lt;/form&gt;
      &lt;/field&gt;
  &lt;/record&gt;
  
  &lt;record id="hourly_event_action" model="ir.actions.act_window"&gt;
      &lt;field name="name"&gt;Hourly Form&lt;/field&gt;
      &lt;field name="res_model"&gt;hourly.form&lt;/field&gt;
      &lt;field name="view_type"&gt;form&lt;/field&gt;
      &lt;field name="help" type="html"&gt;
      &lt;p class="oe_view_nocontent_creat"&gt; Click here&lt;/p&gt;
      &lt;/field&gt;
  &lt;/record&gt;
  
  &lt;menuitem id="hourlyfeed_form_creation" name="Hourly Maintainace Form" parent="base.menu_mro_root" /&gt;
  &lt;menuitem id="hfeed_form_creation" name="Hourly Maintainace Form" parent="hourlyfeed_form_creation" action="hourly_event_action"/&gt;
  
  &lt;/data&gt;
  &lt;/openerp&gt;
  </code></pre>
  
  <p><strong>openerp</strong>.py has following code</p>
  
  <pre><code>{
      'name':'Hourly Form',
      'version':'1.0',
      'description':"""
          Feedback Form
      """,
      'author':'shrihar',
      'depends':['base_setup','calendar','Configuration','asset','stock','asset_edit','calander_extended',],
      'data':['hourly_feedback.xml','views/report_hourly.xml','feedback_report.xml',],
      'demo':[],
      'installable':True,
      'auto_install':False,
  }
  </code></pre>
  
  <p>In view/report_feedback.xml has following code</p>
  
  
  
  <pre><code>&lt;openerp&gt;
  &lt;data&gt;
  &lt;template id="report_hourly"&gt;
      &lt;t t-call="report.html_container"&gt;
          &lt;t t-foreach="docs" t-as="o"&gt;
              &lt;t t-call="report.external_layout"&gt;
                  &lt;div class="page"&gt;
                      &lt;h2&gt;Hour Report&lt;/h2&gt;
  
                  &lt;/div&gt;
              &lt;/t&gt;
          &lt;/t&gt;
      &lt;/t&gt;
  &lt;/template&gt;
  &lt;/data&gt;
  &lt;/openerp&gt;
  </code></pre>
  
  <p>everything is working fine but i am not able to get report its gettin json error pleas add code </p>