Odoo Help


Is the function "init_static_http" missing in Odoo v.8 ?

on 8/1/14, 6:45 AM 1,095 views

I need to call this function of Odoo v.7 of file /openerp/service/http_server.py on line 114 in my new module for Odoo v8 where can i locate?


def init_static_http():
    if not tools.config.get('static_http_enable', False):
    document_root = tools.config.get('static_http_document_root', False)
    assert document_root, "Document root must be specified explicitly to enable static HTTP service (option --static-http-document-root)"
    base_path = tools.config.get('static_http_url_prefix', '/')
    reg_http_service(base_path, StaticHTTPHandler)
    _logger.info("Registered HTTP dir %s for %s", document_root, base_path)


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/1/14, 6:45 AM
Seen: 1095 times
Last updated: 3/16/15, 8:10 AM