跳至内容
菜单
此问题已终结
2 回复
2498 查看

The official docs link the Oersted library as a pythonic way to access Odoo ORM in 10.0:
https://www.odoo.com/documentation/10.0/howtos/backend.html
However oersted suffers from the following bug and is unable to authenticate to 10.0:
https://github.com/kryskool/oersted/issues/2

Please either remove this from the docs or fix the bug. Has anyone else found any pythonic way to connnect to an external Odoo instance's ORM?



By "pythonically" I mean NOT through RPC (string connections) but through pythonic objects (instead of

invoke('create', 'note.note', '{color: 8}')

it would be

note.color = 8


形象
丢弃
编写者 最佳答案

Oersted is deprecated but the 10.0 docs haven't been updated. The new module is: http://pythonhosted.org/OdooRPC/

形象
丢弃
最佳答案

Thanks for the feedback: https://github.com/odoo/odoo/commit/5b424e5f97b8a53b3c4d39a1f11107bf3b5f6ac4

形象
丢弃