# HG changeset patch # User Feng Shu # Date 1687314496 -28800 # Wed Jun 21 10:28:16 2023 +0800 # Node ID 1d059d7a39d606bc362c2cbd49fd62cf1aca2b66 # Parent ebdbbea9e7e069082d573ed60fb344e619b5b119 Delete the Carriage return at the end of patient_critical_summary Delete the Carriage return at the end of the patient critical summary, for it will influence the align in the report. diff -r ebdbbea9e7e0 -r 1d059d7a39d6 tryton/health/health.py --- a/tryton/health/health.py Wed Jun 21 03:57:05 2023 +0200 +++ b/tryton/health/health.py Wed Jun 21 10:28:16 2023 +0800 @@ -2891,7 +2891,7 @@ other_conditions = f"{other_conditions} " \ f"{disease.pathology.rec_name}\n" - return allergies + other_conditions + return (allergies + other_conditions).strip("\n") name = fields.Many2One( 'party.party', 'Patient', required=True,