Community mailing list archives

Problem with handling SQL constraint exceptions in Odoo ORM

Ludwik Trammer
- 11/17/2014 05:50:33


Last time I posted to this group (about my blog and the process of learning Odoo development) you encouraged me to ask questions about problems I encounter (thank you!).

Currently I have a hard time figuring out what is the proper way of handling SQL constraint errors while using Odoo ORM. In Django I would just need to catch IntegrityError, but this doesn't seem to work as excepted in Odoo.

I provided all the details here:

Ludwik Trammer