Remove unnecessary readonly state for inactive location

issue11800
This commit is contained in:
Cédric Krier committed 2022-10-16 01:15:28 +02:00
1 parent ee6ab1273d
commit 2fceb98752
1 file changed
-1
-1
View File
@@ -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'),