title: Template inheritance in odoo
body: <p>I want to create a new theme for odoo. I have done it by create a new module and install it. I see in this document <a href="https://doc.odoo.com/trunk/web/qweb/">here</a> which said that odoo support template inheritance by using t-extend keyword. However I can't make it.
  This is my customized template:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;openerp&gt;
  &lt;data&gt;
      &lt;template id="website.homepage" name="Homepage" page="True"&gt;
          &lt;div class="header"&gt;
              &lt;h1&gt;FOO&lt;h1&gt;
              &lt;div class="main"&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/template&gt;
  
      &lt;template id="website.contact" name="Homepage" page="True"&gt;
          &lt;t t-extend="website.homepage"&gt;
              &lt;t t-jquery="div.main" t-operation="inner"&gt;
                  &lt;h1&gt;FOO 2&lt;/h1&gt;
              &lt;/t&gt;
          &lt;/t&gt;
      &lt;/template&gt;
  
  &lt;/data&gt;
  &lt;/openerp&gt;
  </code></pre>
  
  <p>Template website.contact should have showed FOO and FOO 2 but it only showed FOO 2.
  Please help me explain it. Thanks.</p>