跳至內容
選單
此問題已被標幟
2 回覆
6338 瀏覽次數

Is there a way to catch and handle HTTP errors?

When the web server throws a 500 Internal Server Error I'd like the user to see something besides the default browser page.

頭像
捨棄
作者

Since I need 30 karma to comment on other people's answers & I have 8 I'm going to comment on my question. @jke, where is this template?

You need to set your user as technical user and after a refresh, in setting /technical / user interface / views

Ps: the best way is to do an heritage to avoid to lost your changes at next update! Else you can set the model data as "no updatable" to avoid to be erased ... Let us know if it's work for you

作者

I don't see this template. Is that the view name, the template or external id?

External id = website.500



Jeremy Kersten (JKE)

Le 30 mars 2015 à 21:03, Dean <odoo@deanandadie.net> a écrit :

I don't see this template. Is that the view name, the template or external id?

--
Dean
Sent by Odoo S.A. using Odoo about Forum Post HTTP Error Handlers?
最佳答案

You can update the template with name '500' (website.500)


That the template which is rendered when Odoo catch an exception !

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
9月 22
6259
3
9月 20
5674
2
12月 19
5651
4
12月 23
25138
0
8月 15
19139