Open Prometee opened 5 months ago
I also got a similar issue, the same on read as on searchRead
File "/home/odoo/src/odoo/saas-17.2/odoo/addons/base/controllers/rpc.py", line 156, in xmlrpc_2
response = self._xmlrpc(service)
File "/home/odoo/src/custom/trial/saas_trial/controllers/main.py", line 307, in _xmlrpc
res = super(OdooRPC, self)._xmlrpc(service)
File "/home/odoo/src/odoo/saas-17.2/odoo/addons/base/controllers/rpc.py", line 135, in _xmlrpc
return xmlrpc.client.dumps((result,), methodresponse=1, allow_none=False)
File "/usr/lib/python3.10/xmlrpc/client.py", line 981, in dumps
data = m.dumps(params)
File "/usr/lib/python3.10/xmlrpc/client.py", line 514, in dumps
dump(v, write)
File "/usr/lib/python3.10/xmlrpc/client.py", line 536, in __dump
f(self, value, write)
File "/usr/lib/python3.10/xmlrpc/client.py", line 589, in dump_array
dump(v, write)
File "/usr/lib/python3.10/xmlrpc/client.py", line 536, in __dump
f(self, value, write)
File "/usr/lib/python3.10/xmlrpc/client.py", line 607, in dump_struct
dump(v, write)
File "/usr/lib/python3.10/xmlrpc/client.py", line 536, in __dump
f(self, value, write)
File "/usr/lib/python3.10/xmlrpc/client.py", line 605, in dump_struct
raise TypeError("dictionary key must be string")
TypeError: dictionary key must be string
@vava-odoo any progress on the issue?
I also see this when I "read" from "account.move.line" (I access the API from PHP). A can read all fields in the row except compute_all_tax.
We are facing the same issue, any news?
@niyasraphy are you able to handle this issue, or report it to someone who can ?
Impacted versions: 17
Steps to reproduce:
Use Odoo Docker official image and run it with this options :
Make an JSON-RPC call "search_read" on the model
account.move.line
requesting all fields.Current behavior:
Expected behavior: No error
The field causing this error is
compute_all_tax