Dear Luis and all,I get the following error message when trying to access the 
evaluation report.Although all patient records have the gender attribute 
set.May you assist?
 
When trying to access evaluation report




Traceback (mostrecent call last):

 File"/trytond/wsgi.py", line 73, in dispatch_request

 returnendpoint(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

 returnwrapped(*args, **kwargs)

 File"/trytond/protocols/wrappers.py", line 122, in wrapper

 returnfunc(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

 returndict((name, call(name)) for name in names)

 File"/trytond/model/fields/function.py", line 103, in <genexpr>

 returndict((name, call(name)) for name in names)

 File"/trytond/model/fields/function.py", line 98, in call

 returndict((r.id, method(r, name)) for r in records)

 File"/trytond/model/fields/function.py", line 98, in <genexpr>

 returndict((r.id, method(r, name)) for r in records)

 File"/trytond/modules/health/health.py", line 5107, inget_patient_gender

 returnself.patient.gender

AttributeError:'NoneType' object has no attribute 'gender'



Kind regards
Armand


Reply via email to