Hide single invoice file field for multi-invoice receiving batch

This commit is contained in:
Lance Edgar 2023-12-19 12:49:33 -06:00
parent 90630fe852
commit 90e35ee3db

View file

@ -533,6 +533,7 @@ class ReceivingBatchView(PurchasingBatchView):
f.insert_before('invoice_file', 'invoice_files') f.insert_before('invoice_file', 'invoice_files')
f.set_renderer('invoice_files', self.render_invoice_files) f.set_renderer('invoice_files', self.render_invoice_files)
f.set_readonly('invoice_files', True) f.set_readonly('invoice_files', True)
f.remove('invoice_file')
# invoice totals # invoice totals
f.set_label('invoice_total', "Invoice Total (Orig.)") f.set_label('invoice_total', "Invoice Total (Orig.)")