Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
7040 Visualizações

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
Cancelar
Melhor resposta

A workaround here

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

Avatar
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
0
jan. 25
1209
0
dez. 24
1792
0
out. 24
1288
1
jun. 24
4058
1
dez. 23
4713