What is the physical path of Odoo webserver?
What I tried: - I created the new module and placed the libraries inside the module directory but it didn't work. - I also placed the libraries in the home directory of odoo.
As I understand, the problem would be solved if I could get the default directory of the webserver that odoo runs on.
If module is using js files, then you must put these files inside your module. And still if you cant reach these files from your module its your technical error and you have to fix it yourself, also note that odoo has its js libraries already
I found this page: how to add css and js files in Openerp 7 / Odoo module maybe can help you.
Below is the content.
Store files correctly: CSS and JS files should be reside under 'static' directory in the module(the rest of subdirectory tree under 'static' is an optional convention):
Add files in manifest (v7.0) or in XML(v8.0)
Openerp v7.0 way is to add following entries in manifest (in openerp.py): ... 'css': ['static/src/css/your_file.css'], 'js': [static/src/js/your_file.js'], ...
Odoo v8.0 way is to add corresponding record in the XML: Add XML to the manifest (openerp.py): ... 'data': [ 'your_file.xml'], ... Then add following record in 'your_file.xml':