Hello there, I want to Remove Checkbox from tree view in wizard in odoo v16.
Here is the code,
def view_tree(self):
return {
'name': "My List View",
'res_model': 'your.model',
'view_mode': 'tree,form',
'target': 'current',
'domain': [],
'flags': {'hasSelectors': False},
'context': {},
'type': 'ir.actions.act_window',
}
I used ... 'flags': {'hasSelectors': False}, in OdooV15 and it worked there but not working in OdooV16