Odoo doesn't load "pyjs" on the frontend by default. For this reason this snippet only allows use javascript syntax to write the domain. * Use/Implement a user-friendly domain selector