title: Using Qweb to generate pdf report in odoo 9
body: <p>Hi Friends I have used Qweb to generate the pdf report in odoo 9 now i can download the pdf file but the file does not showing the data </p>
  
  <p><a href="https://i.stack.imgur.com/Upb3x.png" rel="nofollow">Generated PDF</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;odoo&gt;
  &lt;template id="report_invoice"&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;div class="row"&gt; 
                      &lt;h2 class="text-center" style="font-size: 24px;font-weight: bold;"&gt;company &lt;/h2&gt;
                           &lt;p&gt;This object's name is &lt;span t-field="o.name"/&gt;&lt;/p&gt;
                    &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/t&gt;
          &lt;/t&gt; 
      &lt;/t&gt;
  &lt;/template&gt;
  &lt;/odoo&gt;</code></pre>
  </div>
  </div>
  </p>