From db47e1b69c5a2e35633c2017555a92271bd3bf76 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Thu, 16 Sep 2021 17:21:52 +0200 Subject: [PATCH] feat: address and contact queries --- erpnext/accounts/doctype/dunning/dunning.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erpnext/accounts/doctype/dunning/dunning.js b/erpnext/accounts/doctype/dunning/dunning.js index 7bc79e78fb..73ed9c4261 100644 --- a/erpnext/accounts/doctype/dunning/dunning.js +++ b/erpnext/accounts/doctype/dunning/dunning.js @@ -24,6 +24,9 @@ frappe.ui.form.on("Dunning", { }; }); + frm.set_query('contact_person', erpnext.queries.contact_query); + frm.set_query('customer_address', erpnext.queries.address_query); + // cannot add rows manually, only via button "Fetch Overdue Payments" frm.set_df_property("overdue_payments", "cannot_add_rows", true); },