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 created a new user. Input just the User name and Login field. Then attempted to delete the user and received this error message:
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: Note Stage - note.stage]
Is it not possible to ever delete a user? Or is this a bug? Using V7 on Unbuntu 12.04
You can't delete a record in OpenERP that is referred to by another record.
You can't delete a Customer referred to by a Sale. You can't delete a Product referred to by a Stock Move.
This is part of the referential integrity of the database (and of the ERP).
OpenERP supports the concept of INACTIVE on many record types (like products and users) so that you can 'remove' these records from showing up but keep them in the system so the referring record is still valid.
note.stage object you have reference of This user.
By means you use this user in
note.stage so that record which used this user as reference in
note.stage object. Delete that first. Then delete User.
It is possible to delete a user.
Example : Create new user, save it, and delete it without use it in any record.
Hope this will help
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: 3/14/13, 10:21 AM|
|Seen: 5872 times|
|Last updated: 3/16/15, 8:10 AM|