+91-903-347-2982,+91-987-935-4457   contact@serpentcs.com

How to know OpenERP Server Version?

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.
WEBINAR

LEARN HOW ADVANCED RESTAURANT TABLE RESERVATION SOFTWARE WORKS
JUNE 26,2019 - WEDNESDAY


18:00 HOURS TO 19:00 HOURS
IST

TYPE: FREE
BECOME AN ODOO CHAMP

JOIN OUR TRAINING, BE PREPARED FOR ODOO CERTIFICATION!
FROM 25TH AUG TO 19TH SEP,2019


JLT CLUSTER N, OFFICE 2103, DUBAI, UAE

TYPE: FREE
WEBINAR

ONE STOP SOLUTION FOR SMALL, MEDIUM AND BIG SIZE SPA SALOONS TO MANAGE THEIR OPERATIONS SMARTLY
JULY 03,2019 - WEDNESDAY


18:00 HOURS TO 19:00 HOURS
IST

TYPE: FREE