import xmlrpc.client url = 'http://localhost:10008' db = 'student-odoo19-db' username = 'odoo' password = 'odoo' common = xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(url)) uid = common.authenticate(db, username, password, {}) models = xmlrpc.client.ServerProxy('{}/xmlrpc/2/object'.format(url)) fields = models.execute_kw(db, uid, password, 'res.groups', 'fields_get', [], {'attributes': ['string', 'help', 'type']}) for field, details in fields.items(): print(field, details['type'])