Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5970 มุมมอง

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?

ผู้เขียน

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

ผู้เขียน

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

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

คำตอบที่ดีที่สุด

Hi,

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 ...

Bye

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ต.ค. 16
5900
How to add 7.0 Module in 8 แก้ไขแล้ว
3
มี.ค. 15
6921
1
ก.พ. 24
2599
1
เม.ย. 21
5610
Unable to install module แก้ไขแล้ว
2
เม.ย. 15
4473