Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7046 Lượt xem

I am validating the VAT using a constraint in the web client, in order to disallow repeated VATs in partners.

When I ask for the VAT in the website form and this VAT already exists, the constraint cause the message (which is visible in the log) but I get a 500 internal server error in the website.

How can I raise, show, popup, etc this error in the website?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

A workaround here

http://stackoverflow.com/questions/34069000/how-can-i-raise-a-warning-message-in-odoo-website

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks.. as you can see is an answer to my own question. It worked.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 25
1214
0
thg 12 24
1796
0
thg 10 24
1290
1
thg 6 24
4066
1
thg 12 23
4722