Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发必须能够通过原始 json rpc 请求使用 7 和 8 版本协议的移动应用程序。经过几个小时的搜索,我仍然很好奇,如何确定 OpenERP/Odoo 服务器使用的是哪个版本?任何想法或可能在这里都存在一些了解服务器构建信息的特定请求。
提前致谢。
更新 感谢@Mischievous 的回答。它给了我一个观点。所以,我的解决方案是这样的请求your.server.url/web/webclient/version_info
your.server.url/web/webclient/version_info
是的,您可以从这里找到服务器信息。看看屏幕截图。
只需点击“关于 Odoo”
在 7 和 8 中只需导入 openerp,它位于 openerp.release.version 中。
你可能必须自己写一些东西来返回这个。