[FIX] routing_map: correct subclasses detection.
authorChristophe Simonis <chs@odoo.com>
Tue, 3 Jun 2014 15:48:08 +0000 (17:48 +0200)
committerChristophe Simonis <chs@odoo.com>
Tue, 3 Jun 2014 15:55:34 +0000 (17:55 +0200)
commit70041a5f1b7d3bf795052875d8ef8a4521c180e1
treedcaa3cf020367583244f56b2861168a250c0bf9a
parenta07af9e715a2853012ff9e1909af722795c8fbba
[FIX] routing_map: correct subclasses detection.

Subclass detection didn't include the class itself if all it's subclasses
were invalid. As we create a new regrouping subclass, that was always the
case after a registry reloading, causing subclassed controllers to not be
taken in account.

[IMP] routing_map: clean code a little bit
openerp/http.py