Remove unnecessary readonly state for inactive location
issue11800
This commit is contained in:
1 parent
ee6ab1273d
commit
2fceb98752
1 file changed
-1
@@ -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'),
|
||||
|
||||
Reference in new issue
Block a user