Hello sir,
After creating new work schedule, trying to access the free appointment goes to:
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 163, in _dispatch result = rpc.result(meth(*c_args, **c_kwargs)) File "/trytond/model/modelsql.py", line 773, in read getter_results = field.get(ids, cls, field_list, values=result) File "/trytond/model/fields/function.py", line 91, in get return dict((name, call(name)) for name in names) File "/trytond/model/fields/function.py", line 91, in <genexpr> return dict((name, call(name)) for name in names) File "/trytond/model/fields/function.py", line 85, in call return dict((r.id, method(r, name)) for r in records) File "/trytond/model/fields/function.py", line 85, in <genexpr> return dict((r.id, method(r, name)) for r in records) File "/trytond/modules/health_qrcodes/health_qrcodes.py", line 103, in make_qrcode appointment_patient = self.patient.rec_name or '' AttributeError: 'NoneType' object has no attribute 'rec_name'
Trying to open previously created free appointment before migrating from 3.8 to 4.2 goes into:
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 163, in _dispatch result = rpc.result(meth(*c_args, **c_kwargs)) File "/trytond/model/modelsql.py", line 773, in read getter_results = field.get(ids, cls, field_list, values=result) File "/trytond/model/fields/function.py", line 91, in get return dict((name, call(name)) for name in names) File "/trytond/model/fields/function.py", line 91, in <genexpr> return dict((name, call(name)) for name in names) File "/trytond/model/fields/function.py", line 85, in call return dict((r.id, method(r, name)) for r in records) File "/trytond/model/fields/function.py", line 85, in <genexpr> return dict((r.id, method(r, name)) for r in records) File "/trytond/modules/health_qrcodes/health_qrcodes.py", line 111, in make_qrcode qr_string = 'ID: ' + self.name or '' \ TypeError: Can't convert 'NoneType' object to str implicitly
When I try to open new appointment and choose state free or checked in, shows the first message. Except if the appointment is created as confirmed then changed to free.
I think it may be the appointment ID.
The new version first day into work. otherwise going great.
Kind Regards,
Maah Mousa
|