Allow editing of inventory batch count mode and reason code
This commit is contained in:
parent
8291c4d273
commit
0675be8835
|
@ -179,9 +179,6 @@ class InventoryBatchView(BatchMasterView):
|
|||
fs.executed,
|
||||
fs.executed_by,
|
||||
])
|
||||
if not self.creating:
|
||||
fs.mode.set(readonly=True)
|
||||
fs.reason_code.set(readonly=True)
|
||||
|
||||
def row_editable(self, row):
|
||||
return self.mutable_batch(row.batch)
|
||||
|
|
Loading…
Reference in a new issue