How to Make Sure One2Many Records Are Deleted When the Parent Record Deleted in Odoo 17 – CBMS Odoo ERP

In Odoo 17, to ensure that One2many records are deleted when the parent record is deleted, you need to configure the One2many field with the proper ondelete attribute. This attribute controls the behavior of related records when the parent record is deleted. Set ondelete=’cascade’ on the One2many field to automatically delete related records when the […]

How To Update One2many Field From OnChange of Field in Odoo 17 | Odoo 17 Development Tutorials – CBMS Odoo ERP

In Odoo, A One2many field signifies a one-to-many relationship between two models, allowing one model to have multiple related records from another model. The onChange method triggers actions when a field’s value changes, commonly used to update other fields. To update a One2many field from another field’s onChange method in Odoo, declare the One2many field to […]

How to Inherit a Field to a Existing One2Many Tree View in Odoo 16 | Odoo Development Tutorial – CBMS Odoo ERP

This video describes how to inherit the One2many field and add a new field to it. #odoo16 #odoodevelopment #odootutorials Connect With Us: ————————————— ➡️ Website: ➡️ Email: info@cybrosys.com ➡️ Twitter: ➡️ LinkedIn: ➡️ Facebook: ➡️ Instagram: ➡️ Pinterest: #Inherit #Field #Existing #One2Many #Tree #View #Odoo #Odoo #Development #Tutorial

How to Empty an One2Many Field in Odoo 16 | Odoo 16 Development Tutorials – CBMS Odoo ERP

This video explains how to empty an one2many field in Odoo 16. One2many fields are used when we want to set multiple values from a related model to a single record. #odoo16 #odoodevelopment #odootutorials Connect With Us: ————————————— ➡️ Website: ➡️ Email: info@cybrosys.com ➡️ Twitter: ➡️ LinkedIn: ➡️ Facebook: ➡️ Instagram: ➡️ Pinterest: #Empty #One2Many #Field […]

How to Add Existing Field in One2Many Tree View in Odoo 16 | Odoo 16 Technical Videos – CBMS Odoo ERP

In this video tutorial, we will explore how to enhance the functionality of your Odoo application by adding an existing One2Many tree view. #odoo16 #odoodevelopment #odootutorials We’ll cover the step-by-step process of identifying the target model, locating the relevant tree view definition, and incorporating the One2Many field into the existing view. Connect With Us: ————————————— […]

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 […]