title: Missing Barcode at Generate PDF Report on Odoo v10
body: <p>I'm trying generate Product Labels to PDF and it is generated but missing the product barcode.</p>
  
  <p>But The same Qweb I generate the Product Labels to HTML and it work fine.</p>
  
  <p><strong>Go to Products and select two:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/11zRf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/11zRf.png" alt="enter image description here"></a></p>
  
  <p><strong>Generated the Product Labels as HTML (Work Fine):</strong></p>
  
  <p><a href="https://i.stack.imgur.com/i8c9c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i8c9c.png" alt="enter image description here"></a></p>
  
  <p><strong>Generated the Product Labels as PDF (Missing Barcode):</strong></p>
  
  <p><a href="https://i.stack.imgur.com/bWwWg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bWwWg.png" alt="enter image description here"></a></p>
  
  <p><strong>This is my QWEB:</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;t t-name="product.report_productlabel"&gt;
  &lt;t t-call="report.html_container"&gt;
  &lt;div class="page"&gt;
    &lt;style&gt;
  
    &lt;/style&gt;
  
    &lt;t t-foreach="docs" t-as="template"&gt;
      &lt;t t-foreach="template.product_variant_ids" t-as="product"&gt;
  
        &lt;div class="col-xs-6" style="padding:0;"&gt;
          &lt;table style="border-spacing:0;margin-bottom:0;height: 110px;border: 2px solid black;" class="table"&gt;
            &lt;thead&gt;
              &lt;tr style="width: 3in;"&gt;
                &lt;td style="width: 2.63in;text-align: center;background-color: #fff;" colspan="2" class="col-xs-8 danger"&gt;
                  &lt;strong style="text-transform: uppercase;"&gt;
                    &lt;t t-esc="product.name"/&gt;
                  &lt;/strong&gt;
                &lt;/td&gt;
              &lt;/tr&gt;
            &lt;/thead&gt;
            &lt;tbody&gt;
              &lt;tr style="width: 1in;"&gt;
                &lt;td style="text-align: center; border-top: 0px solid #fff; padding: 0px 5px 0px 5px;" class="col-xs-5"&gt;
                  &lt;h4 style="border: 4px solid #ff4040;border-radius: 9px;background-color: #ffff00;padding: 10px 12px 10px 12px;font-size: 26px;margin-top: 0px;margin-bottom: 0px;"&gt;
                    &lt;strong t-field="product.list_price" /&gt;
  
                    &lt;strong&gt;
                      &lt;t t-esc="product.company_id.currency_id.symbol"/&gt;
                    &lt;/strong&gt;
                  &lt;/h4&gt;
                &lt;/td&gt;
                &lt;td style="text-align: center;border-top: 0px solid #fff;padding: 0px 5px 0px 5px;" class="col-xs-7"&gt;
                  &lt;img class="img-responsive"
                       t-att-src="'data:image/png;base64,%s' % res_company.logo"
                       style="background-color: #fff;margin-left: auto;margin-right: auto;width: auto;height: 16px;margin-bottom: 8px;"/&gt;
                  &lt;img class="img-responsive" t-if="product.barcode"
                       t-att-src="'/report/barcode/?type=%s&amp;amp;value=%s&amp;amp;width=%s&amp;amp;height=%s' % ('EAN13', product.barcode, 650, 200)"
                       style="height: 20px;width: 100%;"/&gt;
                  &lt;span style=""&gt;
                    &lt;t t-esc="product.barcode"/&gt;
                  &lt;/span&gt;
                &lt;/td&gt;
              &lt;/tr&gt;
            &lt;/tbody&gt;
          &lt;/table&gt;
        &lt;/div&gt;
  
      &lt;/t&gt;
    &lt;/t&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>
  </p>