Odoo Help

0

cannot remove contract

By
Luigi Gregori
on 12/23/13, 9:37 AM 1,074 views

every time i try to remove a contract it says it's impossible due to integrity rules. How is it possible to delete a contract?

0
ASP
On 12/24/13, 9:05 AM

Hi,

It's because there are other records using/referring to that contact. So in order to delete it, you first have to delete all the child elements or records that are associated with it, and then only you can delete this record. As the ON DELETE CASCADE is not there for the constraint, hence the child elements/records are getting deleted.

Thanks

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

1 follower(s)

Stats

Asked: 12/23/13, 9:37 AM
Seen: 1074 times
Last updated: 3/16/15, 8:10 AM