diff --git a/bin/osv/osv.py b/bin/osv/osv.py index bc845a511fd..3915ea63c61 100644 --- a/bin/osv/osv.py +++ b/bin/osv/osv.py @@ -85,7 +85,8 @@ class osv_pool(netsvc.Service): res = getattr(obj,method)(cr, uid, *args, **kw) return res except orm.except_orm, inst: - self.abortResponse(1, inst.value[0], inst.name, inst.value[1]) + #self.abortResponse(1, inst.value[0], inst.name, inst.value[1]) + self.abortResponse(1, inst.value[0], 'warning', inst.value[1]) except except_osv, inst: self.abortResponse(1, inst.name, inst.exc_type, inst.value) except psycopg.IntegrityError, inst: