Undefined field on saved export
To Reproduce:
Save an export in Payments containing field Line/Move Origin(record name) -> line/move_origin/rec_name
Reopen export
Select the saved export.
Produces following warning.
Closing warning window and selecting again the saved export don't crash.
If you want to check I already created the export, simply try to export on demo https://demo6.0.tryton.org/#demo6.0/model/account.payment
Warning:
Traceback (most recent call last):
File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 117, in dispatch_request
return endpoint(request, **requestview_args)
File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 48, in rpc
request, database_name, *requestrpc_params)
File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 84, in auth_required
return wrapped(*args, **kwargs)
File "/usr/local/lib/python37/dist-packages/trytond/protocols/wrapperspy", line 159, in wrapper
return func(request, pool, *args, **kwargs)
File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 143, in _dispatch
obj, method = get_object_method(request, pool)
File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 130, in get_object_method
return poolget(name, type=type), method
File "/usr/local/lib/python37/dist-packages/trytond/poolpy", line 187, in get
return self_pool[selfdatabase_name][type][name]
KeyError: 'undefined'