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.
From this day on, I get the following error when creating a new project:
"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: Analytic Account - account.analytic.account]"
Until today I did not get this error.
Searching revealed the following page: "https://www.odoo.com/fr_FR/forum/help-1/question/getting-integrity-error-when-i-try-to-create-new-project-75080". Fortunately in that page there is no solution that will resolve my problem. I do have all access rights.
Any suggestion on how to solve this problem?
That could be that the project.project model has been extended with a required field(this change cannot correctly set in the database because of the existing data, but the validations of the data before inserting in the database raise those errors) but the view that you are using was not extended as well so you are not sending the needed required field to the create method
Dear Axel. Thank you for your reply. I have deleted all the existing projects. Still the same problem. I tried to figure out what field had extended the project.project model. I can find two fields in the model that are not in the view. Unfortunately I am not able to modify those fields. I am also not able to change the obligatory of fields in the model.
Any suggestions further more?
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: 7/7/15, 2:51 PM|
|Seen: 2251 times|
|Last updated: 4/20/17, 8:54 AM|