fix(payment entry): clear party_name for internal transfer

This commit is contained in:
ravibharathi656
2025-12-29 12:04:13 +05:30
parent 9f0f4d6709
commit aae0448e1f

View File

@@ -427,7 +427,15 @@ frappe.ui.form.on("Payment Entry", {
if (frm.doc.payment_type == "Internal Transfer") {
$.each(
["party", "party_type", "paid_from", "paid_to", "references", "total_allocated_amount"],
[
"party",
"party_type",
"paid_from",
"paid_to",
"references",
"total_allocated_amount",
"party_name",
],
function (i, field) {
frm.set_value(field, null);
}