Skip to content

Commit cd38f56

Browse files
committed
fix: Clear party bank account field when contact mobile is set
1 parent ee30331 commit cd38f56

File tree

1 file changed

+1
-0
lines changed
  • payment_integration_utils/payment_integration_utils/client_overrides/form

1 file changed

+1
-0
lines changed

payment_integration_utils/payment_integration_utils/client_overrides/form/payment_entry.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ frappe.ui.form.on("Payment Entry", {
8484

8585
party: async function (frm) {
8686
if (frm.doc.contact_mobile) frm.set_value("contact_mobile", "");
87+
if (frm.doc.party_bank_account) frm.set_value("party_bank_account", "");
8788

8889
if (frm.doc.party_type !== "Employee" || !frm.doc.party) return;
8990

0 commit comments

Comments
 (0)