[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [bug #63558] Fault: 'NoneType' object has no attribute 'nam
From: |
Mathias Behrle |
Subject: |
[Health-dev] [bug #63558] Fault: 'NoneType' object has no attribute 'name' |
Date: |
Wed, 21 Dec 2022 17:05:32 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63558>
Summary: Fault: 'NoneType' object has no attribute 'name'
Project: GNU Health
Submitter: yangoon
Submitted: Wed 21 Dec 2022 10:05:30 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: None
Discussion Lock: Any
Module: health_crypto
Component: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 21 Dec 2022 10:05:30 PM UTC By: Mathias Behrle <yangoon>
Opening a prescription on the demo server:
Traceback (most recent call last):
File "/trytond/wsgi.py", line 117, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 46, in rpc
return methods.get(request.rpc_method, _dispatch)(
File "/trytond/wsgi.py", line 84, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 159, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 180, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/model/modelsql.py", line 870, in read
getter_results = field.get(
File "/trytond/model/fields/function.py", line 105, in get
return dict((name, call(name)) for name in names)
File "/trytond/model/fields/function.py", line 105, in <genexpr>
return dict((name, call(name)) for name in names)
File "/trytond/model/fields/function.py", line 100, in call
return dict((r.id, method(r, name)) for r in records)
File "/trytond/model/fields/function.py", line 100, in <genexpr>
return dict((r.id, method(r, name)) for r in records)
File "/trytond/modules/health_crypto/health_crypto.py", line 164, in
check_digest
serial_doc = self.get_serial(self)
File "/trytond/modules/health_crypto/health_crypto.py", line 128, in
get_serial
line.dose_unit.name or '',
AttributeError: 'NoneType' object has no attribute 'name'
Fault: 'NoneType' object has no attribute 'name'
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63558>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Health-dev] [bug #63558] Fault: 'NoneType' object has no attribute 'name',
Mathias Behrle <=