changeset 5042:2b2b20e3c9da

Fix bug #61943: health_crypto: dose_unit missing
author Luis Falcon <falcon@gnuhealth.org>
date Fri, 28 Jan 2022 17:14:45 +0000
parents 119ef55d6900
children cf013d9c6376
files tryton/health_crypto/health_crypto.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health_crypto/health_crypto.py
+++ b/tryton/health_crypto/health_crypto.py
@@ -125,6 +125,7 @@
             line_elements = [line.medicament and
                              line.medicament.name.name or '',
                              line.dose or '',
+                             line.dose_unit.name or '',
                              line.route and line.route.name or '',
                              line.form and line.form.name or '',
                              line.indication and line.indication.name or '',