Skip to content
Snippets Groups Projects
Commit 6ff21e2e authored by Julien Castiaux's avatar Julien Castiaux
Browse files

[FIX] core: support controllers outside addons


With the iot-box it is possible to download modules from an odoo server
into the iot-box. Those odoo modules are `exec`-like and exposed on the
box. With those modules come some controllers. Because they were
`exec`-like, they lack a python module name which makes
`_generate_routing_rules` to reject them.

With this fix, we authorise to declare controllers outside of odoo
addons. Those controllers cannot be extended, nor can they override
other controllers.

closes odoo/odoo#86275

Signed-off-by: default avatarJulien Castiaux <juc@odoo.com>
parent 140615ed
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment