Browse Source

IMP message

pull/246/head
eLBati 9 years ago
parent
commit
4d3502dcc3
  1. 2
      base_field_validator/ir_model.py

2
base_field_validator/ir_model.py

@ -40,7 +40,7 @@ class IrModel(orm.Model):
if not pattern.match(vals[validator_line.field_id.name]): if not pattern.match(vals[validator_line.field_id.name]):
raise orm.except_orm( raise orm.except_orm(
_('Error'), _('Error'),
_('Expression %s not passed for %s') % (
_('Expression %s not valid for %s') % (
validator_line.regex_id.regex, validator_line.regex_id.regex,
vals[validator_line.field_id.name])) vals[validator_line.field_id.name]))
return True return True

Loading…
Cancel
Save