title: How to add css and javascript files to a custom module in Odoo 8?
body: <p>this question has already been answered here:</p>
  
  <p><a href="https://stackoverflow.com/questions/32846826/how-to-add-css-files-to-a-custom-module-in-odoo-8#_=_">https://stackoverflow.com/questions/32846826/how-to-add-css-files-to-a-custom-module-in-odoo-8#<em>=</em></a></p>
  
  <p>The css link worked but it didn't work with the js link, the server breaks down.</p>
  
  <p>Could you please help!
  Here's my code </p>
  
  <pre><code>&lt;openerp&gt;
    &lt;data&gt;
      &lt;template id="assets_backend" name="mymodule css assets" inherit_id="web.assets_backend"&gt;
        &lt;xpath expr="." position="inside"&gt;
          &lt;script src="https://code.jquery.com/jquery-3.1.0.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="/islam/static/src/js/javascript.js"&gt;&lt;/script&gt;
          &lt;link rel="stylesheet" href="/islam/static/src/css/style.css"/&gt;         
        &lt;/xpath&gt;
      &lt;/template&gt;   
    &lt;/data&gt;
  &lt;/openerp&gt;
  </code></pre>
  
  <p>PS: this line :  indicates the file where are defined the functions used in my script. </p>