Odoo Help

Welcome!

This community 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.

0

How to raise a warning at website

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

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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