Hi, Francisco
On Fri, 20 Oct 2023 10:17:04 -0300
Francisco Maria Moyano Casco <moyanocasco.francis...@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


Reply via email to