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....@gnu.org> on behalf of Luis Falcon <fal...@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