콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
6645 화면

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
6604
3
9월 20
6118
2
12월 19
5952
4
12월 23
25758
0
8월 15
19613