Skip to Content

How to know OpenERP Server Version?

Author
SerpentCS
March 2012 - 1 min read
Share
Blog Feature Image

We understand why you landed to this page and You might have this question in your mind to know the version of Installed OpenERP in your system. This is very easy by using the code as follows. Create a separate python file, run it and face the magic.

#!/usr/bin/env python
from xmlrpclib import ServerProxy
def get_version(hostname, port=8069):
    server = ServerProxy('http://%s:%d/xmlrpc/db' % (hostname, port,))
    return server.server_version()

def main():
    print "Version: %r" % (get_version('localhost'),)

if __name__ == '__main__':
    main()
  Thanks to Stephane Wirtel for sharing it! Regards, Serpent Consulting Services.
Table of Contents
Click to Add Image

End-to-End Odoo Services

From implementation and customization to migration, integrations, support, and training we help you maximize the value of Odoo.

Get Started
Search

Book Free Demo

Get real-time responses. Talk with our Industry Experts.

Ready to Take the Next Step?

Whether you're planning a new ERP implementation, migrating from legacy software,
or optimizing your existing system, our experts are here to help.