From 6dc26fd4be29a5faac7c33ba03de9322867189ef Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 25 Apr 2024 14:05:56 -0500 Subject: [PATCH] Allow deleting rows from equity import batch after execution in some cases we need to delete proper equity payment records, but that can't happen if referenced by an import batch. so admin needs the ability to delete referencing rows for sake of deleting payment --- tailbone_corepos/views/batch/equityimport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tailbone_corepos/views/batch/equityimport.py b/tailbone_corepos/views/batch/equityimport.py index 1d4913a..77ae716 100644 --- a/tailbone_corepos/views/batch/equityimport.py +++ b/tailbone_corepos/views/batch/equityimport.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2023 Lance Edgar +# Copyright © 2010-2024 Lance Edgar # # This file is part of Rattail. # @@ -45,6 +45,7 @@ class CoreEquityImportBatchView(BatchMasterView): route_prefix = 'batch.corepos.equity_import' url_prefix = '/batch/corepos-equity-import' rows_bulk_deletable = True + rows_deletable_if_executed = True row_labels = { 'member_type_id': "Member Type",