From 4d3502dcc3ef0fba44130404447d04336d3eb22a Mon Sep 17 00:00:00 2001 From: eLBati Date: Tue, 1 Sep 2015 11:37:17 +0200 Subject: [PATCH] IMP message --- base_field_validator/ir_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_field_validator/ir_model.py b/base_field_validator/ir_model.py index 70f050b2a..1b2bd5960 100644 --- a/base_field_validator/ir_model.py +++ b/base_field_validator/ir_model.py @@ -40,7 +40,7 @@ class IrModel(orm.Model): if not pattern.match(vals[validator_line.field_id.name]): raise orm.except_orm( _('Error'), - _('Expression %s not passed for %s') % ( + _('Expression %s not valid for %s') % ( validator_line.regex_id.regex, vals[validator_line.field_id.name])) return True