I'm trying to add a filter to a search view to filter the records based on the current company.
The model is not company_dependant.
I've tried with
<filter name="main_company_filter" string="Current company" domain="[('main_company_id','=',uid.company_id)]/>
but it throws an error.
Any suggestion?
Thanks in advance.