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

Hello my Friends,

I want to ask you how can i raise an exception in a controller.

I have tried as usual raise UserError but it doesnt work ant i got this:

 

อวตาร
ละทิ้ง

Pleae show your code.

ผู้เขียน

Would you help please !!

ผู้เขียน คำตอบที่ดีที่สุด

It i too simple my Friend.

I want to launch a warning like those launched in models class. But, this time from controller.

I have tried the raise.UserError it doesnt wok.

Would you help please?!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 23
2386
Odoo Mail Sending Limit แก้ไขแล้ว
2
ธ.ค. 23
15669
0
ต.ค. 23
33
3
ต.ค. 23
790
1
ต.ค. 23
569