Allow editing of inventory batch count mode and reason code

This commit is contained in:
Lance Edgar 2018-01-15 16:01:46 -06:00
parent 8291c4d273
commit 0675be8835

View file

@ -179,9 +179,6 @@ class InventoryBatchView(BatchMasterView):
fs.executed, fs.executed,
fs.executed_by, fs.executed_by,
]) ])
if not self.creating:
fs.mode.set(readonly=True)
fs.reason_code.set(readonly=True)
def row_editable(self, row): def row_editable(self, row):
return self.mutable_batch(row.batch) return self.mutable_batch(row.batch)