Branch ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] ['|', ('id','=',user.default_branch_id.id), ('id','in',[g.id for g in user.branch_ids])] Allowed Branch