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
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
|Asked: 3/14/13, 10:21 AM|
|Seen: 4210 times|
|Last updated: 3/16/15, 8:10 AM|