をのauthない場合、私は、ルートとコントローラがあります。私は、URL /レポート/ yandex_phone_reportにログインしている場合Odoo:URLが見つからない
@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
は細かい表示しました。 I URL /レポート/ yandex_phone_reportにlogedないが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 -
をブラウザがこれを表示している:
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
私はそれを解決することができますか?なぜルートが機能していないのですか?