Mercurial > hgweb > health
changeset 5549:410173cd6e16
Fix bug #63456: Traceback on summary report due to typo
| author | Luis Falcon <falcon@gnuhealth.org> |
|---|---|
| date | Thu, 01 Dec 2022 18:54:44 +0000 |
| parents | e9ffae75dfc4 |
| children | 2a19375c1a29 |
| files | tryton/health_reporting/report/epidemics_report.py tryton/health_reporting/report/summary_report.py |
| diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tryton/health_reporting/report/epidemics_report.py +++ b/tryton/health_reporting/report/epidemics_report.py @@ -35,7 +35,7 @@ return Party.search([ ('is_person', '=', True), - ('decesased', '!=', True), + ('deceased', '!=', True), ('dob', '=', None), ], count=True) @@ -66,7 +66,7 @@ domain = [ ('activation_date', '>=', start_date), ('activation_date', '<=', end_date), - ('decesased', '!=', True), + ('deceased', '!=', True), ('is_person', '=', True), ]
--- a/tryton/health_reporting/report/summary_report.py +++ b/tryton/health_reporting/report/summary_report.py @@ -28,7 +28,7 @@ return Party.search([ ('is_person', '=', True), - ('decesased', '!=', True), + ('deceased', '!=', True), ('dob', '=', None), ], count=True) @@ -59,7 +59,7 @@ domain = [ ('activation_date', '>=', start_date), ('activation_date', '<=', end_date), - ('decesased', '!=', True), + ('deceased', '!=', True), ('is_person', '=', True), ]
