Odoo Help


How to raise a warning at website

Daniel Blanco
on 12/2/15, 10:39 PM 586 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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: 586 times
Last updated: 4/21/16, 9:17 AM