The actual question is facing error in API integration odoo-v12 :
code:
import xmlrpc.client
import logging
url, db = 'localhost:8070', 'lab12'
username, password = 'admin', 'admin'
logging.info("url {} , db {}".format(url, db))
common = xmlrpc.client.ServerProxy('{}/xmlrpc.client/2/common'.format(url))
common.version()
Error:
raise OSError("unsupported XML-RPC protocol")
OSError: unsupported XML-RPC protocol
Any idea !!!! How to resolve the error.