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
Make an XMLRPC call "search_read" on the model account.move requesting all fields except needed_terms (see #129493).
Current behavior:
Traceback (most recent call last):
File "/usr/lib/python3.9/xmlrpc/client.py", line 516, in __dump
f = self.dispatch[type(value)]
KeyError: <class 'collections.defaultdict'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/controllers/rpc.py", line 148, in xmlrpc_2
except Exception as error:
File "/usr/lib/python3/dist-packages/odoo/addons/base/controllers/rpc.py", line 129, in _xmlrpc
File "/usr/lib/python3.9/xmlrpc/client.py", line 975, in dumps
data = m.dumps(params)
File "/usr/lib/python3.9/xmlrpc/client.py", line 508, in dumps
dump(v, write)
File "/usr/lib/python3.9/xmlrpc/client.py", line 530, in __dump
f(self, value, write)
File "/usr/lib/python3.9/xmlrpc/client.py", line 583, in dump_array
dump(v, write)
File "/usr/lib/python3.9/xmlrpc/client.py", line 530, in __dump
f(self, value, write)
File "/usr/lib/python3.9/xmlrpc/client.py", line 601, in dump_struct
dump(v, write)
File "/usr/lib/python3.9/xmlrpc/client.py", line 530, in __dump
f(self, value, write)
File "/usr/lib/python3.9/xmlrpc/client.py", line 601, in dump_struct
dump(v, write)
File "/usr/lib/python3.9/xmlrpc/client.py", line 520, in __dump
raise TypeError("cannot marshal %s objects" % type(value))
TypeError: cannot marshal <class 'collections.defaultdict'> objects
Expected behavior: No error
The field causing this error is tax_totals
The text was updated successfully, but these errors were encountered:
Impacted versions: 16
Steps to reproduce:
Use Ddoo Docker official image and run it with this options :
docker run -p 8069:8069 --env HOST=host.docker.internal --name odoo_16 --pull missing -t odoo:16 -- --database odoo-master-v16 --init "l10n_fr,account_accountant,sale_management"
Make an XMLRPC call "search_read" on the model
account.move
requesting all fields exceptneeded_terms
(see #129493).Current behavior:
Expected behavior: No error
The field causing this error is
tax_totals
The text was updated successfully, but these errors were encountered: