|
From: | Luis Falcon |
Subject: | Re: [Health-dev] PUID on Invoice in GNUHealth |
Date: | Wed, 13 Apr 2022 12:40:08 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |