|
From: | Carlos Eduardo Sotelo Pinto |
Subject: | Re: [Health-dev] Error on Lab result and Patient Evaluation |
Date: | Thu, 23 Nov 2017 05:00:07 -0500 |
What Version are you using?
Viele Grüße
Axel
--
Diese Nachricht wurde von meinem Android-Tablet mit K-9 Mail gesendet.Am 23. November 2017 03:29:47 WEZ schrieb Carlos Eduardo Sotelo Pinto <address@hidden>: Dear comunitySome errors are apearing on Lab results and Patient evaluation related to input data. It is on fields where a float is required and the user set an int number, instead a conversion or alert cause of the point for float, an error appear likeTraceback (most recent call last):File "/trytond/wsgi.py", line 47, in dispatch_requestreturn endpoint(request, **request.view_args)File "/trytond/protocols/dispatcher.py", line 41, in rpc request, database_name, *request.rpc_params)File "/trytond/wsgi.py", line 39, in auth_requiredreturn wrapped(*args, **kwargs)File "/trytond/protocols/wrappers.py", line 106, in wrapper return func(request, pool, *args, **kwargs)File "/trytond/protocols/dispatcher.py", line 168, in _dispatch result = rpc.result(meth(inst, *c_args, **c_kwargs))File "/trytond/model/modelview.py", line 681, in on_change_withchanges[fieldname] = getattr(self, method_name)()File "/trytond/model/fields/field.py", line 101, in wrapper return func(self, *args, **kwargs)File "/trytond/modules/health/health.py", line 4662, in on_change_with_whr if (hip > 0):TypeError: '>' not supported between instances of 'NoneType' and 'int'orTraceback (most recent call last):File "/trytond/wsgi.py", line 47, in dispatch_requestreturn endpoint(request, request.view_args)File "/trytond/protocols/dispatcher.py", line 41, in rpc request, database_name, request.rpc_params)File "/trytond/wsgi.py", line 39, in auth_requiredreturn wrapped(args, kwargs)File "/trytond/protocols/wrappers.py", line 106, in wrapper return func(request, pool, args, *kwargs)File "/trytond/protocols/dispatcher.py", line 168, in _dispatch result = rpc.result(meth(inst, c_args, c_kwargs))File "/trytond/model/modelview.py", line 681, in on_change_withchanges[fieldname] = getattr(self, method_name)()File "/trytond/model/fields/field.py", line 101, in wrapper return func(self, args, kwargs)File "/trytond/modules/health_lab/health_lab.py", line 227, in on_change_with_warning if (self.result < self.lower_limit or self.result > self.upper_limit):TypeError: unorderable types: float() < NoneType()I have tryed to add the issue to the tracker but was no possibleBests--Carlos Eduardo Sotelo Pinto
Agile Coach | Python Software Developer | Tryton ERP ConsultantClaro RPC +51 989550602Skype: csotelopGNULinux RU #379182 | GNULinux RM #277661Please consider the environment before printing this emailJoin the campaign at http://thinkBeforePrinting.org
[Prev in Thread] | Current Thread | [Next in Thread] |