From ff42d490c5b67ae063339270a95655ade922af3d Mon Sep 17 00:00:00 2001 From: DavidJForgeFlow Date: Tue, 7 May 2024 11:37:12 +0200 Subject: [PATCH] [FIX] stock_inventory_preparation_filter: update invisible field correctly. --- stock_inventory_preparation_filter/__manifest__.py | 2 +- .../views/stock_inventory_view.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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'])]} + +