This question has been flagged
2 Replies
3334 Views

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

Avatar
Discard
Author Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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