Odoo Help


Integrity error when installing a new module

on 5/15/13, 8:12 PM 2,488 views

When I try to install a new module (I have tried with 3 or 4 different ones) I get the following error:

Integrity Error

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: name - name]

Any hint on how to fix it?

what is the module name? have you tried installing the module in a different database?

on 5/15/13, 8:35 PM

Module name: hr_timesheet (I have the same problem with different modules)

on 5/16/13, 2:34 PM

It works with a diferent database loaded with demo data, so I know the problem is with my database, but I do not know what to check

on 5/16/13, 2:35 PM

Hi Sandiago, Please check which all modules are in "to be installed" state. if you have put an error module "to be installed" you can't install any of the module in openerp. Do one thing Goto "Settings >> Installed Modules" and make the view in "List View" and delete the "installed" Filter. You can see which of the modules are there in "To be installed" state

on 5/19/13, 11:52 PM

Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--

| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 5/19/13, 12:09 PM


all is in the message, you are certainely deleted a rcord, and id of this record is referenced in another table. I cant' help you for that, now you now you shouldn't delete a record which has id referenced in an other table, always uncheck active field for that. Good luke to identify this recoerd and table wher id is present ...


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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/15/13, 8:12 PM
Seen: 2488 times
Last updated: 3/16/15, 8:10 AM