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 <carlos.sotelo.pi...@gmail.com>: >Dear comunity > >Some 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 like > >Traceback (most recent call last): > File "/trytond/wsgi.py", line 47, in dispatch_request > return 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_required > return 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_with > changes[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'* > >*or* > > >Traceback (most recent call last): >File "/trytond/wsgi.py", line 47, in dispatch_request >return 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_required >return 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_with >changes[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 possible > >Bests > > >-- >Carlos Eduardo Sotelo Pinto > Agile Coach | Python Software Developer | Tryton ERP Consultant > Claro RPC +51 989550602 <989%20550%20602> > Skype: csotelop > GNULinux RU #379182 | GNULinux RM #277661 > >*Please consider the environment before printing this email* > >*Join the campaign at http://thinkBeforePrinting.org ><http://thinkBeforePrinting.org>*