health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] PUID on Invoice in GNUHealth


From: Yusif Suleiman
Subject: Re: [Health-dev] PUID on Invoice in GNUHealth
Date: Wed, 13 Apr 2022 14:41:46 +0000

Hi Luis,
I really appreciate, and take note of the previous mail.
Now it works.
Regards.
Yusuf

From: Health-dev <health-dev-bounces+yusifsuleiman=hotmail.com@gnu.org> on behalf of Luis Falcon <falcon@gnuhealth.org>
Sent: Wednesday, April 13, 2022 12:40 PM
To: health-dev@gnu.org <health-dev@gnu.org>
Subject: Re: [Health-dev] PUID on Invoice in GNUHealth
 
I see where the issue comes..


> Traceback (most recent call last):
>    File "/site-packages/genshi/template/eval.py", line 318, in lookup_attr
>      val = getattr(obj, key)
>    File "/trytond/model/modelstorage.py", line 1293, in __getattr__
>      raise AttributeError('"%s" has no attribute "%s"' % (self, name))
> AttributeError: "party.party,12" has no attribute "puid"
>

The field is actually "ref" on party.

So invoice.party.ref

Bests
Luis


reply via email to

[Prev in Thread] Current Thread [Next in Thread]