health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] Issues with hospitalizations and roundings


From: Odile C. Jioda
Subject: Re: [Health] Issues with hospitalizations and roundings
Date: Fri, 21 Jun 2024 08:58:10 +0100

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



Le 18 juin 2024 16:06, Luis Falcon <falcon@gnuhealth.org> a écrit :

Dear Odile
El Tue, 18 Jun 2024 12:53:57 +0100
"Odile C. Jioda" <christelia3@hotmail.com> escribió:
> Dear all,
>
> I receive the following error message while trying to open the list
> of hospitalizations and roudings 
>
> For rounding when i click on "close" i have an empty list (see
> picture below) where i can only see (when i scroll down) very old
> entries.
>
> Could you please help me out?
> Thanks a lot in advance

Could you please copy/paste the traceback error instead of sending
screenshots? It's easier and it uses less resources.

Thank you!
Luis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]