Don't allow "execute results" for any batches by default
custom app must always explicitly opt-in to that feature
This commit is contained in:
parent
ca64d52021
commit
0dfe52a42d
|
@ -63,7 +63,6 @@ class InventoryBatchView(BatchMasterView):
|
|||
index_title = "Inventory"
|
||||
rows_creatable = True
|
||||
bulk_deletable = True
|
||||
results_executable = True
|
||||
mobile_creatable = True
|
||||
mobile_rows_creatable = True
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2019 Lance Edgar
|
||||
# Copyright © 2010-2020 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -53,7 +53,6 @@ class LabelBatchView(BatchMasterView):
|
|||
rows_editable = True
|
||||
rows_bulk_deletable = True
|
||||
cloneable = True
|
||||
results_executable = True
|
||||
|
||||
row_grid_columns = [
|
||||
'sequence',
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2019 Lance Edgar
|
||||
# Copyright © 2010-2020 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -64,7 +64,6 @@ class HandheldBatchView(FileBatchMasterView):
|
|||
url_prefix = '/batch/handheld'
|
||||
execution_options_schema = ExecutionOptions
|
||||
editable = False
|
||||
results_executable = True
|
||||
|
||||
model_row_class = model.HandheldBatchRow
|
||||
rows_creatable = False
|
||||
|
|
Loading…
Reference in a new issue