There is a setting in Accounting preferences that makes this field Mandatory for ALL transaction Types. This would include Custom transactions. In Order to accomplish this you would need to turn that setting off. This would effect the entire system though so is NOT advisable to resolve a single issue. It is likely to cause additional issue elsewhere.