From 66667652b6afe27d10210eb81454f0ac8f1124fa Mon Sep 17 00:00:00 2001 From: "Pinakin Nayi (OpenERP)" Date: Thu, 12 Jul 2012 18:15:53 +0530 Subject: [PATCH] [IMP]analytic-anonymization-warning-msg bzr revid: pna@tinyerp.com-20120712124553-zg42ssi0hat181e3 --- addons/anonymization/anonymization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/anonymization/anonymization.py b/addons/anonymization/anonymization.py index b6e4d802ce2..25e770394c8 100644 --- a/addons/anonymization/anonymization.py +++ b/addons/anonymization/anonymization.py @@ -425,7 +425,7 @@ class ir_model_fields_anonymize_wizard(osv.osv_memory): elif field_type == 'integer': anonymized_value = 0 elif field_type in ['binary', 'many2many', 'many2one', 'one2many', 'reference']: # cannot anonymize these kind of fields - msg = "Cannot anonymize fields of these types: binary, many2many, many2one, one2many, reference" + msg = "Cannot anonymize fields of these types: binary, many2many, many2one, one2many, reference." self._raise_after_history_update(cr, uid, history_id, 'Error !', msg) if anonymized_value is None: @@ -515,7 +515,7 @@ class ir_model_fields_anonymize_wizard(osv.osv_memory): wizards = self.browse(cr, uid, ids, context=context) for wizard in wizards: if not wizard.file_import: - msg = "The anonymization export file was not supplied. It is not possible to reverse the anonymization process without this file." + msg = "It is not possible to reverse the anonymization process without supplying anonymization export file." self._raise_after_history_update(cr, uid, history_id, 'Error !', msg) # reverse the anonymization: