Original readonly state for lot field in move should be extended, not replaced.

This commit is contained in:
Electrans 2017-11-22 11:20:34 +01:00
parent 330804835f
commit 37ca2a07eb
1 changed files with 1 additions and 1 deletions

View File

@ -32,4 +32,4 @@ class Move():
if 'product' not in cls.lot.depends:
cls.lot.depends.append('product')
cls.lot.states['readonly'] = ~Eval('product') | ~Eval('from_location')
cls.lot.states['readonly'] |= ~Eval('product') | ~Eval('from_location')