mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
[minor] If customer has removed getting an error (#10107)
This commit is contained in:
committed by
Nabin Hait
parent
1d9fd9aa52
commit
8579dd1d78
@@ -20,6 +20,7 @@ frappe.ui.form.on("Tax Rule", "refresh", function(frm) {
|
||||
})
|
||||
|
||||
frappe.ui.form.on("Tax Rule", "customer", function(frm) {
|
||||
if(frm.doc.customer) {
|
||||
frappe.call({
|
||||
method:"erpnext.accounts.doctype.tax_rule.tax_rule.get_party_details",
|
||||
args: {
|
||||
@@ -34,6 +35,7 @@ frappe.ui.form.on("Tax Rule", "customer", function(frm) {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
frappe.ui.form.on("Tax Rule", "supplier", function(frm) {
|
||||
|
||||
Reference in New Issue
Block a user