Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am admin user, i wantto restrict some of my users to login for some period.
When i give access to them, they can login o their account. Where should i update the code?
Any solution for this?
I know the active checkbox present in users form. but dont want to use that method.
I want to add a date field in users table. Before login we want to chack that expire date. if expire date same as current date then expire, the use will not have the permission to login the database.
I would say you have 2 options
- you dectivate the user you want to restrict access (and later reactivate him if you want)
- you change the password (and uncheck the option enabling users to request reset of password from the login page)
both I have not tested. Especially what happens once you deactivate a user and whether there might be any problem when reactivating him. I would suggest to test the method you want to use with a test user first to see whether it works fine or not
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/8/14, 12:52 AM|
|Seen: 1450 times|
|Last updated: 3/16/15, 8:10 AM|