crash on processing incoming document due to missing attribute party
While I am testing the incoming document (version 7.0) module with typless OCR service, I got the below error. ``` Traceback (most recent call last): File "usrlocallibpython3.11dist-packagestrytondmodelmodelstorage.py", line 1622, in __getattr__ field = self._fields[name] ~~~~~~~~~~~~^^^^^^ KeyError: 'party' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "usrlocallibpython3.11dist-packagestrytondwsgi.py", line 109, in dispatch_request return endpoint(request, **request.view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondprotocolsdispatcher.py", line 43, in rpc return methods.get(request.rpc_method, _dispatch)( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondwsgi.py", line 75, in wrapper return func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondprotocolswrappers.py", line 200, in wrapper return func(request, pool, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondprotocolsdispatcher.py", line 196, in _dispatch result = rpc.result(meth(*c_args, **c_kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondmodelmodelview.py", line 742, in wrapper return func(cls, records, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondmodelworkflow.py", line 37, in wrapper result = func(cls, filtered, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondmodulesdocument_incoming_ocrdocument.py", line 51, in proceed super().proceed(documents, with_children=with_children) File "usrlocallibpython3.11dist-packagestrytondmodelmodelview.py", line 742, in wrapper return func(cls, records, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondmodelworkflow.py", line 37, in wrapper result = func(cls, filtered, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondmodulesdocument_incomingdocument.py", line 228, in proceed document.result = getattr(document, f'_process_{document.type}')() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondmodulesdocument_incoming_ocrdocument.py", line 92, in _process_supplier_invoice for identifier in self.party.identifiers: ^^^^^^^^^^ File "usrlocallibpython3.11dist-packagestrytondmodelmodelstorage.py", line 1624, in __getattr__ raise AttributeError('"%s" has no attribute "%s"' % (self, name)) AttributeError: "document.incoming,10" has no attribute "party" ```
issue