changeset 5140:11536e760a71 stable

Fixed bug #62427: Typo in health_services exceptions
author Luis Falcon <falcon@gnuhealth.org>
date Mon, 09 May 2022 09:37:13 +0100
parents 632e2c1b13f5
children eb7d995fb6c5
files tryton/health_services/health_services.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health_services/health_services.py
+++ b/tryton/health_services/health_services.py
@@ -166,7 +166,7 @@
         if (self.name):
             if (self.name.state == 'invoiced'):
                 raise ServiceAlreadyInvoiced(
-                    gettext('health_service.msg_service_already_invoiced'))
+                    gettext('health_services.msg_service_already_invoiced'))
 
     def get_rec_name(self, name):
         if self.name:
@@ -203,7 +203,7 @@
 
         if not prescription.service:
             raise NoServiceAssociated(
-                    gettext('health_service.msg_no_service_associated'))
+                    gettext('health_services.msg_no_service_associated'))
 
         service_data = {}
         service_lines = []
@@ -261,11 +261,11 @@
 
         if not evaluation.service:
             raise NoServiceAssociated(
-                    gettext('health_service.msg_no_service_associated'))
+                    gettext('health_services.msg_no_service_associated'))
 
         if not evaluation.product:
             raise NoProductAssociated(
-                    gettext('health_service.msg_no_product_associated'))
+                    gettext('health_services.msg_no_product_associated'))
 
         service_data = {}
         service_lines = []