Skip to content

Commit

Permalink
[minor] removed the default for party type field in address and conta…
Browse files Browse the repository at this point in the history
…cts report (#4614)
  • Loading branch information
mbauskar authored and nabinhait committed Dec 14, 2017
1 parent 92c8050 commit 6f164ed
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ frappe.query_reports["Addresses And Contacts"] = {
"name": ["in","Customer,Supplier,Sales Partner"],
}
}
},
"default": "Customer"
}
},
{
"fieldname":"party_name",
"label": __("Party Name"),
"fieldtype": "Dynamic Link",
"get_options": function() {
var party_type = frappe.query_report_filters_by_name.party_type.get_value();
let party_type = frappe.query_report_filters_by_name.party_type.get_value();
if(!party_type) {
frappe.throw(__("Please select Party Type first"));
}
Expand Down

0 comments on commit 6f164ed

Please sign in to comment.