Hi,
I am having the next issue when I create a request on ImagingTestRequest, (not trough the wizard)
Traceback (most recent call last):
File "/trytond/wsgi.py", line 117, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 46, in rpc
return methods.get(request.rpc_method, _dispatch)(
File "/trytond/wsgi.py", line 84, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 178, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 180, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/modules/health_imaging/health_imaging.py", line 136, in create
values['request'] = cls.generate_code()
TypeError: ImagingTestRequest.generate_code() missing 1 required positional argument: 'cls'
Fault: ImagingTestRequest.generate_code() missing 1 required positional argument: 'cls'
This is because, I think, generate_code() has not declared the classmethod decorator.
Regards
Francisco