Hello,
Here is the error message when trying to open roudings.
Then the list is empty after the error pop up message is closed.
When a new rounding is created it can be seen in the list only directly after it creation. after that the "registration code" field is somehow emptied and the rounding is not visible anymore when the rounding list is called and a later point of time. The latest rounding which can be seen from the list is the of september 2023 all others do not appear.
Traceback (most recent call last):
File "/trytond/wsgi.py", line 73, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 46, in rpc
request, database_name, *request.rpc_params)
File "/trytond/wsgi.py", line 44, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 122, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 176, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/model/modelsql.py", line 867, in read
fields_related[fname]):
File "/trytond/model/modelsql.py", line 830, in read
getter_results = field.get(ids, cls, field_list, values=result)
File "/trytond/model/fields/function.py", line 103, in get
return dict((name, call(name)) for name in names)
File "/trytond/model/fields/function.py", line 103, in <genexpr>
return dict((name, call(name)) for name in names)
File "/trytond/model/fields/function.py", line 98, in call
return dict((r.id, method(r, name)) for r in records)
File "/trytond/model/fields/function.py", line 98, in <genexpr>
return dict((r.id, method(r, name)) for r in records)
File "/trytond/modules/health_inpatient/health_inpatient.py", line 423, in get_rec_name
+ self.patient.rec_name
AttributeError: 'NoneType' object has no attribute 'rec_name'
And whe have the same issue while trying to open the évaluation list. Here is the error message
Traceback (most recent call last):
File "/trytond/wsgi.py", line 73, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 46, in rpc
request, database_name, *request.rpc_params)
File "/trytond/wsgi.py", line 44, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 122, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 176, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/model/modelsql.py", line 830, in read
getter_results = field.get(ids, cls, field_list, values=result)
File "/trytond/model/fields/function.py", line 103, in get
return dict((name, call(name)) for name in names)
File "/trytond/model/fields/function.py", line 103, in <genexpr>
return dict((name, call(name)) for name in names)
File "/trytond/model/fields/function.py", line 98, in call
return dict((r.id, method(r, name)) for r in records)
File "/trytond/model/fields/function.py", line 98, in <genexpr>
return dict((r.id, method(r, name)) for r in records)
File "/trytond/modules/health/health.py", line 5107, in get_patient_gender
return self.patient.gender
AttributeError: 'NoneType' object has no attribute 'gender'
Could you please help out?
Thanks a lot for your support.
Kind regards