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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
3881
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up