merge
bzr revid: christophe@tinyerp.com-20080903112323-zsdt7p503bczpps8
This commit is contained in:
commit
ca44da0b2c
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue