diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-05-07 10:16:11 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-05-07 10:16:11 +0200 |
| commit | 7743760a4ffd0e91b8d146fe15f6509e9958c958 (patch) | |
| tree | f0b145584e2d79690a67e45686df0f2735900dfd /addons/analytic_user_function/analytic_user_function.py | |
| parent | 3baa897ec219b4a8b73cbcff3cae2ba916d74d93 (diff) | |
[FIX] case where Root's dispatcher finds a non-exposed method
Using elif, if a method was found but not exposed (because
internal/whatever) the controller's index method would be skipped
during URL dispatch leading to a 404.
Since matched method yields an early return, a simple if will work,
and will *not* skip case where ``method and not method.exposed``
bzr revid: xmo@openerp.com-20130507081611-t2bfba2ai79xj1ew
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
