Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6439 มุมมอง

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 !

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 22
6356
3
ก.ย. 20
5821
2
ธ.ค. 19
5732
4
ธ.ค. 23
25343
0
ส.ค. 15
19305