From bcedc9f5eb8d52606f91dbc2c56ca17b175a2ee0 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Wed, 24 Jun 2020 16:46:22 +0000 Subject: [PATCH] [FIX] various: use existing state values for state-based conditions in views Various attributes use state field to control display of nodes: like the 'states' (visibility), statusbar_visible (available status in status bar). In this commit we fix various incorrect state values as those are either typos, either references to dead or removed status. An heuristic to detect invalid state for conditions will land soon in master. As this commit targets a stable version only view fixes are provided. Task ID-2329114 PR odoo/odoo#56946 X-original-commit: b4e1e9f3ae86e6b5e7015c0241791f733ee942f4 --- addons/fleet/views/fleet_vehicle_cost_views.xml | 2 +- addons/mrp/views/mrp_production_views.xml | 2 +- addons/snailmail/views/snailmail_views.xml | 2 +- addons/stock/views/stock_picking_views.xml | 2 +- addons/stock_picking_batch/views/stock_picking_batch_views.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/fleet/views/fleet_vehicle_cost_views.xml b/addons/fleet/views/fleet_vehicle_cost_views.xml index 070ee85eb1b..5754c081495 100644 --- a/addons/fleet/views/fleet_vehicle_cost_views.xml +++ b/addons/fleet/views/fleet_vehicle_cost_views.xml @@ -8,7 +8,7 @@
diff --git a/addons/mrp/views/mrp_production_views.xml b/addons/mrp/views/mrp_production_views.xml index d28c4ed93c4..fe65b74e6d6 100644 --- a/addons/mrp/views/mrp_production_views.xml +++ b/addons/mrp/views/mrp_production_views.xml @@ -82,7 +82,7 @@