One2many Mass Delete Select/Deselect Lines from One2many Field
Add widget='one2many_delete' for the field in xml
When we select a order line we can see two buttons Delete Selected and Delete UnSelected
While click on Delete Selected we can see that selected order line is get deleted .
Click on Delete UnSelected.
Can See all unselected order lines are deleted.
Can Delete the selected items from the one2many field.
Can Delete the unselected items from the one2many field.