Which RPC Library is best and Official for Openerp?

人盡茶涼 提交于 2019-12-08 03:59:54

问题


I found some RPC Library (Python) for driving Odoo/OpenERP.

openerplib
oerplib
erppeek
xmlrpclib
odoorpc

Please let me know, which one is Best/Good/Official?

Thanks in advance


回答1:


openerplib is a PHP library, probably not what you want if you're planning to use Pyhton.

xmlrpclib is Python standard library for XML-RPC. You can perfectly work with it, but it won't be the most pleasant library to work with. See the official docs for more details on it.

The other libraries are wrappers around xmlrpclib.

oerplib and odoorpc are from the same author, and I believe that the former is an older version (pre Odoo rebranding), so you should prefer the later. It is up to date, so it can be an option.

erppeek is up to date and is the project with more more activity and contributors. It also provides an API wrapper, but is build to be a console client for Odoo servers. AFAIK is widely used for that.

My advice it to have a look at the doc of odoorpc and erppeek and pick that one you feel better suited for your needs.



来源:https://stackoverflow.com/questions/27667258/which-rpc-library-is-best-and-official-for-openerp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!