Community mailing list archives

community@mail.odoo.com

Error 500 in website when validating VAT

by
Daniel Blanco
- 12/03/2015 10:24:44

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 a warning (which is visible in the server log) but I get a 500 internal server error in the website.

How can I impelment apopup, or similar in the website when there is such situation?


Atte:



Ing. Daniel Blanco
Director
Blanco Martín & Asociados
Skype: hdanielb
Twitter: hdanielb


Argentina:
BMyA S.A.
Nicasio 6970. Córdoba
Argüello - Córdoba

Chile: 
Blanco Martín EIRL
Apoquindo 6410 Of 212
Las Condes - Región Metropolitana