From 90e35ee3dbcb35335437ae530c8a731305fec366 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 19 Dec 2023 12:49:33 -0600 Subject: [PATCH] Hide single invoice file field for multi-invoice receiving batch --- tailbone/views/purchasing/receiving.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tailbone/views/purchasing/receiving.py b/tailbone/views/purchasing/receiving.py index 33f3cc53..8cf38aaf 100644 --- a/tailbone/views/purchasing/receiving.py +++ b/tailbone/views/purchasing/receiving.py @@ -533,6 +533,7 @@ class ReceivingBatchView(PurchasingBatchView): f.insert_before('invoice_file', 'invoice_files') f.set_renderer('invoice_files', self.render_invoice_files) f.set_readonly('invoice_files', True) + f.remove('invoice_file') # invoice totals f.set_label('invoice_total', "Invoice Total (Orig.)")