Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
7049 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

A workaround here

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

Avatar
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
0
gen 25
1221
0
dic 24
1807
0
ott 24
1291
1
giu 24
4087
1
dic 23
4729