Disabling "Reference Date for Early Payment Discount" Prompt

When I create a Payment Entry from a Sales Invoice, I get a prompt asking to enter the payment reference date for early payment discount. I believe this change shipped with ERPNext v14.20.3 which is the version I’m on with ERPNext Cloud, but I couldn’t find any info for it on the release notes

We do not have any payment discounts on any of our payment terms and I could not find a way to disable this prompt in Account Setting, Selling Settings or any other settings.

Any guidance regarding how to disable this would be much appreciated.

Thank you!

has_discount_in_schedule() {
let is_eligible = in_list(
[“Sales Order”, “Sales Invoice”, “Purchase Order”, “Purchase Invoice”],
this.frm.doctype
);
let has_payment_schedule = this.frm.doc.payment_schedule && this.frm.doc.payment_schedule.length;
if(!is_eligible || !has_payment_schedule) return false;

let has_discount = this.frm.doc.payment_schedule.some(row => row.discount_date); //replace by let has_discount = this.frm.doc.payment_schedule.some(row => row.discount_date && row.discount);
return has_discount;

},

you will find this method in transaction.js controller