Checkbox condition in odoo
each and every model have active field , by default active=True, so you can create separate view which product not active. you can refer active field for reference
I want to hide all products that are not checked.
for example:- I have a checkbox button in product.template model and i want to hide hide all those products that are unchecked.