To avoid missing out on Document attachment, we have added a parameter for making doc attachment mandatory in vouchers, which if enabled, the voucher cannot be saved without a document
How to Enable: Go to Settings>Txn Configuration>Select Voucher Nature & Voucher Type>Click Search>Mandate Doc – Yes