changeset 5061:7674f337109a

Fix bug #62023: DOB mismatch error more understandable output
author Luis Falcon <falcon@gnuhealth.org>
date Tue, 15 Feb 2022 17:53:53 +0000
parents 48e9240df572
children 5c5c827c0305
files tryton/health/health.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health/health.py
+++ b/tryton/health/health.py
@@ -2703,7 +2703,7 @@
     def validate_dob(self):
         if (self.name.dob != self.dob):
             raise BirthCertDateMismatch(
-                gettext('health.birth_cert_date_mismatch')
+                gettext('health.msg_birth_cert_date_mismatch')
                 )