Je contrôleur avec la route:Odoo: URL introuvable sinon auth
@http.route(['/report/yandex_phone_report'], type='http', auth="public", website=True)
def yandex_phone_report(self, **kw):
page_data = []
return http.request.render(self._report_index_page_template, {
'page_items': page_data
Si j'ouvert une session dans l'URL/rapport/yandex_phone_report affiché bien. Si je ne loged dans l'URL/rapport/yandex_phone_report retourne 404:
2017-08-02 16:46:09,400 5942 INFO ? werkzeug: 127.0.0.1 - - [02/Aug/2017 16:46:09] "GET /report/yandex_phone_report HTTP/1.1" 404 -
navigateur affiche ceci:
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Comment puis-je résoudre ce problème? Pourquoi la route ne fonctionne pas?