Skip to content
martinhbramwell edited this page Apr 25, 2013 · 1 revision

''' XMLRPC: how to find inactive user?

I'm using OpenERP V7 on Ubuntu 12.04 with Python 2.7.3

For XMLRPC connections I use openerplib

I deactivated a user with :

thisUser = user_model.search([("login", "=", "billybob")])[0]
user_model.write(thisUser, {'active':False})

'''

Clone this wiki locally