diff --git a/stock_inventory_preparation_filter/__manifest__.py b/stock_inventory_preparation_filter/__manifest__.py index 7843e4afd294..737a0514fd63 100644 --- a/stock_inventory_preparation_filter/__manifest__.py +++ b/stock_inventory_preparation_filter/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Extended Inventory Preparation Filters", "version": "16.0.1.0.0", - "depends": ["stock", "stock_inventory"], + "depends": ["stock", "stock_inventory", "base_view_inheritance_extension"], "author": "AvanzOSC," "Tecnativa," "Odoo Community Association (OCA)", "category": "Inventory, Logistic, Storage", "website": "https://github.com/OCA/stock-logistics-warehouse", diff --git a/stock_inventory_preparation_filter/views/stock_inventory_view.xml b/stock_inventory_preparation_filter/views/stock_inventory_view.xml index 00d59791b472..d0df237f9aa9 100644 --- a/stock_inventory_preparation_filter/views/stock_inventory_view.xml +++ b/stock_inventory_preparation_filter/views/stock_inventory_view.xml @@ -4,11 +4,6 @@ stock.inventory - - {'invisible': [('product_selection', '!=', 'all')]} - @@ -21,6 +16,11 @@ + + + {'invisible': [('product_selection', 'in', ['all', 'category', 'one', 'domain'])]} + +