You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a function that requires a POST (createX where X can be individual, group, et.c) functionality in the OpenSPP adaptor, the process runs successfully but logs a marshall error.
See logs below
R/T Executing 863d2842-6f1f-455c-ba24-e320901057ab
R/T Starting step Push data to OpenSPP
R/T [linker] loading module @openfn/language-openspp
R/T [linker] Loading module @openfn/language-openspp from /tmp/openfn/worker/repo/node_modules/@openfn/language-openspp_2.0.0/dist/index.cjs
R/T Resolved adaptor @openfn/language-openspp to version 2.0.0
R/T Executing expression (1 operations)
R/T Starting operation 1
ADA ✗ Error: Error: XML-RPC fault: Traceback (most recent call last):
File "/usr/local/lib/python3.10/xmlrpc/client.py", line 522, in __dump
f = self.dispatch[type(value)]
KeyError: <class 'odoo.api.res.partner'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/odoo/custom/src/odoo/odoo/addons/base/controllers/rpc.py", line 147, in xmlrpc_2
response = self._xmlrpc(service)
File "/opt/odoo/custom/src/odoo/odoo/addons/base/controllers/rpc.py", line 128, in _xmlrpc
return xmlrpc.client.dumps((result,), methodresponse=1, allow_none=False)
File "/usr/local/lib/python3.10/xmlrpc/client.py", line 981, in dumps
data = m.dumps(params)
File "/usr/local/lib/python3.10/xmlrpc/client.py", line 514, in dumps
dump(v, write)
File "/usr/local/lib/python3.10/xmlrpc/client.py", line 526, in __dump
raise TypeError("cannot marshal %s objects" % type(value))
TypeError: cannot marshal <class 'odoo.api.res.partner'> objects
R/T Operation 1 complete in 1.468s
R/T Expression complete!
R/T Removed configuration from final state
R/T Completed step Push data to OpenSPP in 4.202s
R/T Final memory usage: [step 18mb] [system 108mb]
R/T Run complete with status: success
The text was updated successfully, but these errors were encountered:
When running a function that requires a POST (createX where X can be individual, group, et.c) functionality in the OpenSPP adaptor, the process runs successfully but logs a marshall error.
See logs below
The text was updated successfully, but these errors were encountered: