[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health-dev] Patient Evaluation report error on Patients Evaluations
From: |
Luis Falcon |
Subject: |
Re: [Health-dev] Patient Evaluation report error on Patients Evaluations [readonly] |
Date: |
Thu, 26 Oct 2023 09:39:16 +0100 |
Hi, Francisco
On Fri, 20 Oct 2023 10:17:04 -0300
Francisco Maria Moyano Casco <moyanocasco.franciscom@gmail.com> wrote:
> Hi,
> In the Reporting menu, on Patient Evaluations [readonly], it comes
> to an error execution Patient Evaluation report, on gnuhealth 4.2.*
> (.....)
> File "/genshi/template/eval.py", line 309, in lookup_attr
> val = cls.undefined(key, owner=obj)
> File "/genshi/template/eval.py", line 397, in undefined
> raise UndefinedError(key, owner=owner)
> genshi.template.eval.UndefinedError: Pool().get('party.party')(2) has
> no member named "occupation"
>
> Fault: Pool().get('party.party')(2) has no member named "occupation"
>
> There is no occupation field on party.party, unless you install the
> socioeconomics module.
>
What would be of GNU Health without socioeconomics? ;)
Thanks for reporting! We'll work on it.
Bests
Luis