title: How to replace a BackGround Image in Login Screen?
body: <p>i need some help,do you know how to change the background image's login of odoov8?i've already developed a theme custom module and i've tried to replace the image; this is code :</p>
  
  <pre><code>&lt;template id="login_layout" name="My Theme Login" inherit_id="web.login_layout"&gt;
      &lt;xpath expr="//div[@class='oe_single_form_footer']" position="replace"&gt;
          &lt;div class="oe_single_form_footer"&gt;Powered by T&lt;/div&gt;&lt;!-- it works--&gt;
      &lt;/xpath&gt;
  
      &lt;xpath expr="//div[@class='oe_single_form']" position="replace"&gt;
          &lt;div class="oe_single_form"&gt;&lt;img src="/static/src/img/logo.png'" alt="My Theme Logo"  title="My Theme Logo" /&gt;&lt;/div&gt;
      &lt;/xpath&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>but the error I get is: </p>
  
  <pre><code>Element '&amp;lt;xpath expr="//div[@class='oe_single_form']"&gt;' cannot be located in parent view
  </code></pre>
  
  <p>and its so logic cause in the inherit template unlike the "oe_single_form_footer" the "oe_single_form" its not in a div balise(sorry am new with odoo):</p>
  
  <pre><code>&lt;template id="web.login_layout" name="Login Layout"&gt;
      &lt;t t-call="web.layout"&gt;
          &lt;t t-set="head"&gt;
              &lt;link href="/web/static/src/css/base.css" rel="stylesheet"/&gt;
              &lt;link href="/web/static/lib/bootstrap/css/bootstrap.css" rel="stylesheet"/&gt;
          &lt;/t&gt;
          &lt;t t-set="body_classname" t-value="'oe_single_form'"/&gt;
          &lt;div class="oe_single_form_container modal-content"&gt;
              &lt;div class="oe_single_form_logo"&gt;
                  &lt;img t-attf-src="/web/binary/company_logo{{ '?dbname='+db if db else '' }}"/&gt;
              &lt;/div&gt;
              &lt;hr/&gt;
              &lt;t t-raw="0"/&gt;
              &lt;div class="oe_single_form_footer" t-if="not disable_footer"&gt;
                  &lt;t t-if="not disable_database_manager"&gt;
                      &lt;a class="oe_login_manage_db" t-attf-href="/web/database/manager{{ '?debug' if debug else '' }}"&gt;Manage Databases&lt;/a&gt;
                      &lt;span class="oe_footer_seperator"&gt; | &lt;/span&gt;
                  &lt;/t&gt;
                  &lt;a href="https://www.odoo.com" target="_blank"&gt;Powered by &lt;span&gt;Odoo&lt;/span&gt;&lt;/a&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/t&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>Any suggestion?</p>