콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
2508 화면

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

아바타
취소