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.
How to resolve "Integrity Error" on change.password.user when deleting a user after changing his/her password?
The steps to replicate this issue are as follows:
Create a new user (from Odoo "Users" menu)
Set the new user's password (which can be anything, apparently)
Delete that new user.
The error I got was
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: Change Password Wizard User - change.password.user]
From what I Googled, it seems that the reason is because the "change.password.user" table (the actual database table name is "change_password_user") still contains a reference to the user I'm trying to delete. But why is that so? And how to fix this problem? Should I manually delete the entry in change.password.user table?
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: 8/5/15, 9:41 AM|
|Seen: 2197 times|
|Last updated: 8/14/15, 12:36 AM|