odoo-8 Add CSS and Javascript files to Odoo module Store CSS and JS files correctly in Odoo module


Example

CSS and JS files should be reside under 'static' directory in the root directory of module (the rest of subdirectory tree under 'static' is an optional convention):

  • static/src/css/your_file.css
  • static/src/js/your_file.js

Then add links to these files unsing one of the 3 ways listed in the following examples.