'Store the provided encrypted password to the database, and clears
any plaintext password'

def _set_encrypted_password(self, encrypted):

    self.env.cr.execute("UPDATE    res_users    SET    password='',    password_crypt=%s    WHERE    id=%s", (encrypted, self.id))
