Odoo Help

0

cannot remove contract

By
Luigi Gregori
on 12/23/13, 9:37 AM 816 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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: 816 times
Last updated: 3/16/15, 8:10 AM