How to Make Sure One2many Records Are Deleted When the Parent Record Deleted | ondelete =”cascade” – CBMS Odoo ERP

How to Make Sure One2many Records Are Deleted When the Parent Record Deleted | ondelete =”cascade” – CBMS Odoo ERP

This video discusses how to make sure one2many records are deleted when parent records are deleted.
#odoodevelopmentvideos

Video Contents
————————-
00:37 Introduction
00:38 Example
01:03 ondelete = ‘cascade’
02:11 Delete parent record

This can be done using ondelete =”cascade” attribute. We can use ondelete = ‘cascade’, which is a referential action for a foreign key that allows you to delete data from child tables automatically when you delete data from the parent table. #odoo15videos #odoo15tutorials

Connect With Us:

➡️Website:
➡️Email : info@cybrosys.com
➡️Twitter:
➡️LinkedIn:
➡️Facebook:
➡️Instagram:
➡️Pinterest:

#One2many #Records #Deleted #Parent #Record #Deleted #ondelete #cascade

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *