Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to activate a created user?

By
Marcel Rushingwa MPENZI
on 2/23/13, 9:33 AM 4,102 views

I have installed openerp7 home and I've noticed a problem, there is obviously no way to set a user that has been created. In fact, we have completed the user's form, checked the box, put a new password ( the password's field which is hard to find) and then saved.

After that, it happens that the form state does not change and remains "new".

And when you want to connect with the created user, it is impossible.

How to check and make sure my user is usable?

I am not sure if I understand what exactly you want, but newly created user will remain stated as "New" until he make a successful login, this will change the status to "Active".

And yes, there is a problem with the Active check box, that if I unchecked it for New or Active user, this will hide the user and thus it is not possible to login with it again.

You can change the Active status from the database, it is located inside "res_users"

Smart Way LLC, Anas Taji
on 2/23/13, 11:13 AM

I made your question a bit more readable.

Camptocamp SA
on 2/23/13, 10:38 PM

A user will be Active only once he has connected for the first time. So focus on why the user cannot connect.

Camptocamp SA
on 2/25/13, 5:59 AM
3

Yannick Vaucher

--Yannick Vaucher--
1699
| 5 7 9
Lausanne, Switzerland
--Yannick Vaucher--
Yannick Vaucher
On 2/23/13, 10:53 PM

A user will change from New state to Active only once he has logged in once.

If your user cannot log in, you might want to search in database if your user has a password and is active.

For that do the following request in your database:

SELECT * FROM res_users WHERE login = '<login>';

If column password is empty this means you didn't properly set the password.

You can go in OpenERP in User's form click on Options -> Set password on top of the form.

You can also change the password in db:

UPDATE res_users SET password = '<new_password>' WHERE login = '<login>';

Otherwise, it might be the active field which is set to False.

If you don't see the created user in users list, you have to add an advanced filter, active = False in the search bar. Then open the user, check the active box and save.

You also can change it in db:

UPDATE res_users SET active = TRUE WHERE login = '<login>';
0
Jignesh Rathod (jir)
On 5/8/13, 11:03 AM

You can use Option ( Advance search ) for user by active = False , or by query Select active from res_users where login=(Your login ID).

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 2/23/13, 9:33 AM
Seen: 4102 times
Last updated: 3/16/15, 8:10 AM