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:
Lance Edgar 2020-07-07 19:23:52 -05:00
parent ca64d52021
commit 0dfe52a42d
3 changed files with 2 additions and 5 deletions

View file

@ -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

View file

@ -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',

View file

@ -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