Original readonly state for lot field in move should be extended, not replaced.
This commit is contained in:
parent
330804835f
commit
37ca2a07eb
2
stock.py
2
stock.py
|
@ -32,4 +32,4 @@ class Move():
|
||||||
|
|
||||||
if 'product' not in cls.lot.depends:
|
if 'product' not in cls.lot.depends:
|
||||||
cls.lot.depends.append('product')
|
cls.lot.depends.append('product')
|
||||||
cls.lot.states['readonly'] = ~Eval('product') | ~Eval('from_location')
|
cls.lot.states['readonly'] |= ~Eval('product') | ~Eval('from_location')
|
||||||
|
|
Loading…
Reference in New Issue