How to implement custom controller for Odoo 10 that overides default controller
问题 I need to access the /web/session/authenticate method (from Vue app) in Odoo 10 but I need to make a tiny customization. Based on another post I can see that it should be possible to over-ride Odoo's built in controllers so I have this in a custom controller, in a custom module: from odoo import http from odoo.http import request from odoo.addons.web.controllers.main import Session class Session(Session): @http.route('/web/session/authenticate', type='json', auth="none", cors="*") def