'Get the list of filter allowed according to the options checked
in \'Settings\Warehouse\'.'

@api.model
def _selection_filter(self):

    res_filter = [('none', _('All    products')), ('category', _('One    product    category')), ('product', _('One    product    only')), ('partial', _('Select    products    manually'))]
    if self.user_has_groups('stock.group_tracking_owner'):
        res_filter += [('owner', _('One    owner    only')), ('product_owner', _('One    product    for    a    specific    owner'))]
    if self.user_has_groups('stock.group_production_lot'):
        res_filter.append(('lot', _('One    Lot/Serial    Number')))
    if self.user_has_groups('stock.group_tracking_lot'):
        res_filter.append(('pack', _('A    Pack')))
    return res_filter
