Odoo Help

0

OpenERP7 - How to check database integrity ?

By
MTIITTD
on 4/15/14, 9:25 AM 1,313 views

When i try to add a module (Margin by Products as example), i get the following message :

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: Partner - res.partner]

How can i solved ths problem ?

Thierry

 

Can someone help me ?

 

Thanks.

0
Hengky Zhang
On 10/14/14, 8:32 AM

this is not database problem dude

the problem is with the constraint and field relation 

in your case the problem may:

1.the field that relation with res.partner object is not set correctly or blank or you are not allowed to delete it

0
MTIITTD
On 10/14/14, 10:41 AM

Hi.

Thanks for your help.

This problem occurs when i try, as admin, to "Apply Schedule Upgrade".

First i have the following messages :

- Your system will be updated.

- Note that this operation might take a few minutes.

- Modules to Update

-My_Report : to install audittrail : to remove purchase_analytic_plans : to install.

Thern when i click "Update", i got the following messages :

- OpenERP Warning

- 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: Partner - res.partner]

Any idea ?

 

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

Question tools

0 follower(s)

Stats

Asked: 4/15/14, 9:25 AM
Seen: 1313 times
Last updated: 3/16/15, 8:10 AM