Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2468 มุมมอง

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

อวตาร
ละทิ้ง