changeset 5163:2120f026ab26

Update fix bug #62427: Typo in health_services exceptions
author Luis Falcon <falcon@gnuhealth.org>
date Wed, 08 Jun 2022 18:59:35 +0100
parents caa01afaaaeb
children 6ee539fee963
files tryton/health_services/wizard/wizard_health_services.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health_services/wizard/wizard_health_services.py
+++ b/tryton/health_services/wizard/wizard_health_services.py
@@ -73,7 +73,7 @@
         for service in services:
             if service.state == 'invoiced':
                 raise ServiceAlreadyInvoiced(
-                    gettext('health_service.msg_service_already_invoiced'))
+                    gettext('health_services.msg_service_already_invoiced'))
 
             if service.invoice_to:
                 party = service.invoice_to
@@ -125,7 +125,7 @@
             party_address = Party.address_get(party, type='invoice')
             if not party_address:
                 raise NoInvoiceAddress(
-                    gettext('health_service.msg_no_invoice_address'))
+                    gettext('health_services.msg_no_invoice_address'))
             invoice_data['invoice_address'] = party_address.id
             invoice_data['reference'] = service.name
 
@@ -141,7 +141,7 @@
                     acct_config.default_customer_payment_term.id
             else:
                 raise NoPaymentTerm(
-                    gettext('health_service.msg_no_payment_term'))
+                    gettext('health_services.msg_no_payment_term'))
 
             # Invoice Lines
             seq = 0