Odoo Help

0

How to raise a warning at website

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

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

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.

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.

Register

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)

Stats

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