tinyerp / odooly

Python library and CLI to interact with Odoo and OpenERP.
https://odooly.rtfd.io/
Other
60 stars 33 forks source link

Error when trying to run odooly in Odoo14 #14

Closed jorgeegomez closed 3 years ago

jorgeegomez commented 3 years ago

I'm not sure if v14 is supported by odooly, but when first trying to run it, I've immediately hit an error:

TypeError: cannot marshal <class \'odoo.tools.misc.frozendict\'> objects (apparently from core file odoo/tools/misc.py)

The error is the same in both interactive and non-interactive modes; it occurs when running odooly --env test, and prevents all usage of the tool.

ERPpeek in the same virtualenv and config, allows most operations without issue.

This is using Python 3.8 in Ubuntu 20.04

jorgeegomez commented 3 years ago

Found a workaround: define protocol = jsonrpc in the connection to the server.