I have created relational columns with different class but when i delete relational records it will delete records from the base class as well.
Anyone have any solution to stop deleting the records from the base class while deleting relational field.
I have checked with ondelete='set null'
on field declaration.
e.g i have create a field many2one with 'purchase.order', when i delete this record it delete the 'purchase.order' as well.
I want to stop deleting the purchase order while delete the record.