Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
2467 Näkymät

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


Avatar
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää