تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4855 أدوات العرض

Hi guys,

I'm developing mobile app that has to be able work with either 7 and 8 version protocols through raw json rpc requests.
And after few hours of searches I'm still curious, how to determine which version of OpenERP/Odoo server uses?
Any ideas or may be here is exists some specific request to know server build info.

Thanks in advance.

Update
I found solution. It is in next request your.server.url/web/webclient/version_info

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

I found solution. It is in next request your.server.url/web/webclient/version_info

الصورة الرمزية
إهمال
أفضل إجابة

The version information is stored in the release.py file on line 33.  I would imagine that the old and new api could give you that information.

It is then envoked in the common.py function and in edi.py

الصورة الرمزية
إهمال
الكاتب

Thanks for the answer. But I have no any idea on how I can invoke one of these functions through json RPC. Any clue?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
سبتمبر 15
3352
11
سبتمبر 16
25758
6
نوفمبر 15
10812
2
أكتوبر 15
5925
1
فبراير 16
4068