I have created a new webcontroller with specific functionality and I want this webcontroller as a home page of odoo 9.0
.
I have tried to put @http.route('/', type='http', auth='public', website=True)
in main.py
of my custom webcontroller file as a route, but still it redirect to default home page of odoo.
But if I put url as @http.route('/index', type='http', auth='public', website=True)
, the page is working fine.
So my question is what is best way to replace existing odoo home page with custom controller or module.