Odoo Help


How to raise a warning at website

Ing. Daniel Blanco
on 12/2/15, 10:39 PM 1,350 views

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?

David Béal
On 4/21/16, 9:17 AM

A workaround here


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

Daniel Blanco
on 4/21/16, 9:23 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 12/2/15, 10:39 PM
Seen: 1350 times
Last updated: 4/21/16, 9:17 AM