mirror of
https://github.com/NaN-tic/trytond-stock_lot_quantity.git
synced 2023-12-14 03:12:59 +01:00
Original readonly state for lot field in move should be extended, not replaced.
This commit is contained in:
parent
a261408c09
commit
974eec04c8
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 a new issue