From 2fceb9875233eac8556844ff4a171f3eaf713a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 16 Oct 2022 01:15:28 +0200 Subject: [PATCH] Remove unnecessary readonly state for inactive location issue11800 --- location.py | 1 - 1 file changed, 1 deletion(-) diff --git a/location.py b/location.py index 2afdb72505..11d5b1d530 100644 --- a/location.py +++ b/location.py @@ -121,7 +121,6 @@ class Location(DeactivableMixin, tree(), ModelSQL, ModelView): 'stock.location', "Lost and Found", states={ 'invisible': Eval('type') != 'warehouse', - 'readonly': ~Eval('active'), }, domain=[ ('type', '=', 'lost_found'),