'Return a domain component for matching filters that are visible in the
same context (menu/view) as the given action.'

@api.model
def _get_action_domain(self, action_id=None):

    if action_id:
        return [('action_id', 'in', [action_id, False])]
    return [('action_id', '=', False)]
