跳至内容
菜单
此问题已终结
1 回复
7026 查看

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?

形象
丢弃
最佳答案

A workaround here

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

形象
丢弃
编写者

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

相关帖文 回复 查看 活动
0
1月 25
1208
0
12月 24
1791
0
10月 24
1286
1
6月 24
4053
1
12月 23
4708