bzr revid: christophe@tinyerp.com-20080903112323-zsdt7p503bczpps8
This commit is contained in:
Christophe Simonis 2008-09-03 13:23:23 +02:00
commit ca44da0b2c
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ class orm_template(object):
translated_msg = trans._get_source(cr, uid, self._name, 'constraint', lng, source=msg) or msg
error_msgs.append(
_("Error occur when validation the fields %s: %s") % (','.join(fields), translated_msg)
)
)
if error_msgs:
cr.rollback()
raise except_orm('ValidateError', '\n'.join(error_msgs))