health
[Top][All Lists]
Advanced

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

Re: [Health] help needed, after setup can´t input any patients


From: Edgar_
Subject: Re: [Health] help needed, after setup can´t input any patients
Date: Fri, 2 Jul 2021 21:30:54 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Dear Osvaldo

Am 02.07.2021 um 17:40 schrieb Osvaldo Alonso:

Hello

 

Here I have uploaded some screenshots that shows where I got stuck.

 

1 https://ibb.co/DVnKC19

Maybe you forgot to define a Currency, see

1 https://paste.opensuse.org/97869444


2 https://ibb.co/mhC2QMH

ok


3 https://ibb.co/zHXXV1h

You have to to define first your Health Institution with Code and Public Level. Every bold field is mandatory.

https://paste.opensuse.org/51139835

 

Another thing I got trouble with was when I tried to erase the test data above, I removed the active check and then when I try to erase under actions it shows this tryton error:

----------------------------------------------------------------------------

Traceback (most recent call last):

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

    return endpoint(request, **request.view_args)

  File "/trytond/protocols/dispatcher.py", line 45, in rpc

    return methods.get(request.rpc_method, _dispatch)(

  File "/trytond/wsgi.py", line 50, 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/wizard/wizard.py", line 292, in execute

    return wizard._execute(state_name)

  File "/trytond/wizard/wizard.py", line 323, in _execute

    result = self._execute(transition())

  File "/trytond/modules/party/party.py", line 627, in transition_erase

    Model.write(records, {'active': False})

  File "/trytond/modules/health_federation/health_federation.py", line 480, in write

   super(PartyFed, cls).write(parties, values)

  File "/trytond/modules/health/health.py", line 618, in write

    person_id = parties[0].id

IndexError: list index out of range

 

Fault: list index out of range

------------------------------------------------------------------------------------------------------------------

As far as I know it is difficult to erase am entry, better just remove the active check as you did.

All the best

Edgar



reply via email to

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