Prevent modification of the stock lot of stock move done or cancelled
Closes #13520
This commit is contained in:
1 parent
37022fff21
commit
dba33cbb64
1 file changed
+1
@@ -472,6 +472,7 @@ class Move(metaclass=PoolMeta):
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super().__setup__()
|
||||
cls._deny_modify_done_cancel.add('lot')
|
||||
cls._buttons.update({
|
||||
'add_lots_wizard': {
|
||||
'invisible': ~Eval('state').in_(['draft', 'assigned']),
|
||||
|
||||
Reference in new issue
Block a user