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 = [