title: How to show the banks of a company at the footer of a report in Odoo8?
body: <p>I'm trying to show some data (phone, vat, banks...) of the company at the footer of the Odoo 8 reports. To do that, I create a view which inherits from the external layout footer and make the modifications. I'm able to see all the modifications I did in the footer of the report, except for the banks of the company.</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;template id="external_layout_footer_fin" inherit_id="report.external_layout_footer"&gt;
      &lt;xpath expr="//ul[@t-if='not company.custom_footer']" position="replace"&gt;
          &lt;ul t-if="not company.custom_footer" class="list-inline" style="font-size: 11px;"&gt;
              &lt;li&gt;
                  &lt;strong&gt;
                      &lt;span t-field="company.name"/&gt;
                  &lt;/strong&gt;
              &lt;/li&gt;
  
              &lt;li t-if="company.street"&gt;&amp;amp;bull;&lt;/li&gt;
              &lt;li t-if="company.street"&gt;
                  &lt;span t-field="company.street"/&gt;
              &lt;/li&gt;
  
              &lt;li t-if="company.zip or company.city or company.state_id"&gt;&amp;amp;bull;&lt;/li&gt;
              &lt;li&gt;
                  &lt;span t-if="company.zip"&gt;
                      &lt;span t-field="company.zip"/&gt;
                  &lt;/span&gt;
                  &lt;span t-if="company.city"&gt;
                      &lt;span t-field="company.city"/&gt; -
                  &lt;/span&gt;
                  &lt;span t-if="company.state_id"&gt;
                      &lt;span t-field="company.state_id.name"/&gt;
                  &lt;/span&gt;
              &lt;/li&gt;
  
              &lt;li t-if="company.vat"&gt;&amp;amp;bull;&lt;/li&gt;
              &lt;li t-if="company.vat"&gt;VAT: &lt;span t-field="company.vat"/&gt;&lt;/li&gt;
  
              &lt;li t-if="company.phone"&gt;&amp;amp;bull;&lt;/li&gt;
              &lt;li t-if="company.phone"&gt;Phone: &lt;span t-field="company.phone"/&gt;&lt;/li&gt;
  
              &lt;li t-if="company.fax"&gt;&amp;amp;bull;&lt;/li&gt;
              &lt;li t-if="company.fax"&gt;Fax: &lt;span t-field="company.fax"/&gt;&lt;/li&gt;
  
              &lt;li t-if="company.email"&gt;&amp;amp;bull;&lt;/li&gt;
              &lt;li t-if="company.email"&gt;Email: &lt;span t-field="company.email"/&gt;&lt;/li&gt;
  
              &lt;li t-if="company.website"&gt;&amp;amp;bull;&lt;/li&gt;
              &lt;li t-if="company.website"&gt;Website: &lt;span t-field="company.website"/&gt;&lt;/li&gt;
              &lt;li t-foreach="company.bank_ids" t-as="bank"&gt;
                  HELLO
                  &lt;span t-if="bank"&gt;
                      &lt;span t-field="bank.bank_name"/&gt; &lt;span t-field="bank.acc_number"/&gt; - BIC &lt;span t-field="bank.bank_bic"/&gt;
                  &lt;/span&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/xpath&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>Everything is being modified great, except for the banks. They are not being shown at all (and the main company has two banks assigned). In fact, it's not going into the loop <code>for</code>, because I can't even see the word <em>HELLO</em>.</p>
  
  <p>Can anyone help me? Thank you in advance.</p>