From 0128690da88ee7ee1b7e9fb5be70540c47f7cd28 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 2 Feb 2021 13:45:53 -0600 Subject: [PATCH] Update references to vendor invoice batches per table/model rename --- tailbone/views/batch/vendorinvoice.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tailbone/views/batch/vendorinvoice.py b/tailbone/views/batch/vendorinvoice.py index c16a7a6a..bd030666 100644 --- a/tailbone/views/batch/vendorinvoice.py +++ b/tailbone/views/batch/vendorinvoice.py @@ -42,9 +42,10 @@ class VendorInvoiceView(FileBatchMasterView): """ Master view for vendor invoice batches. """ - model_class = model.VendorInvoice - model_row_class = model.VendorInvoiceRow + model_class = model.VendorInvoiceBatch + model_row_class = model.VendorInvoiceBatchRow default_handler_spec = 'rattail.batch.vendorinvoice:VendorInvoiceHandler' + route_prefix = 'vendorinvoices' url_prefix = '/vendors/invoices' grid_columns = [