[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health] (no subject)
From: |
Luis Falcon |
Subject: |
Re: [Health] (no subject) |
Date: |
Sat, 27 Jul 2024 07:35:54 +0000 |
Hi, Matthew!
El Thu, 25 Jul 2024 22:52:54 +0800
ghost knife <6h0sthaunt@gmail.com> escribió:
> Hello good evening gnuhealth team, I'm Matthew a Radiologic
> Technologist. There seems to be a bug. Everytime we create an imaging
> request, with a worklist set, and then when we click the created
> requests on the draft imaging requests, this error appears. How shall
> we solve this. Thanks in advance :)
>
> "/home/gnuhealth/gnuhealth/tryton/server/trytond-6049/trytond/modules/health_orthanc/health_orthancpy",
> line 1241, in getDicomInstitutionName return institution and
> institutionrec_name or '' ^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'int' object has no attribute 'rec_name'
Indeed a bug has been introduced there. The get_institution method
returns the id, which is fine, but of course has not a rec_name
attribute.
We'll fix it for you :)
PS: If there is no institution associated to the company, it should
work, could you please try in the devel. environment to remove the
institution (Under Menu: Health -> Instituions) and try?
Have a great weekend!
Luis