Hi Luis and community!
When saving the patient evaluation, Dr. get the error message as follow:


Traceback (most recent call last):

File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch

response['result'] = dispatch_method(method, params)

File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch

res = dispatch(*args)

File "/trytond/protocols/dispatcher.py", line 161, in dispatch

result = rpc.result(meth(*c_args, **c_kwargs))

File "/trytond/model/modelsql.py", line 416, in create

values.update(cls._clean_defaults(defaults))

File "/trytond/model/modelstorage.py", line 1123, in _clean_defaults

vals2 = obj._clean_defaults(defaults2)

File "/trytond/model/modelstorage.py", line 1113, in _clean_defaults

fld_def = cls._fields[field]

KeyError: 'country.rec_name'

When I try on Demo Server, I got different message as follow:

Traceback (most recent call last):

File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch

response['result'] = dispatch_method(method, params)

File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch

res = dispatch(*args)

File "/trytond/protocols/dispatcher.py", line 161, in dispatch

result = rpc.result(meth(*c_args, **c_kwargs))

File "/trytond/model/modelsql.py", line 492, in create

cls._validate(sub_records)

File "/trytond/model/modelstorage.py", line 1106, in _validate

cls.validate(records)

File "/trytond/modules/health/health.py", line 4390, in validate

evaluation.validate_evaluation_period()

File "/trytond/modules/health/health.py", line 4403, in
validate_evaluation_period

self.evaluation_start, str(languages[0].date)),

IndexError: list index out of range

Is it only me? or someone has similar experience?

Thanks for your help!


Best Regards;

Bounmy Sihaphom
mail. [email protected]

Reply via email to