In odoo, when you show a One2many field as a tree view, there is always a trash icon at the right side, that is used to delete the selected One2Many record. When you click that icon it deletes the record without confirmation. I was wondering if it is possible to show a confirmation dialog ("Are you sure you want to delete the record?") when clicking the trash icon in the One2Many fields tree list.
