mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Merge pull request #35950 from FHenry/dev_feat_adress_contact_report
feat: add Lead to Address And Contact report
This commit is contained in:
@@ -13,7 +13,7 @@ frappe.query_reports["Address And Contacts"] = {
|
|||||||
"get_query": function() {
|
"get_query": function() {
|
||||||
return {
|
return {
|
||||||
"filters": {
|
"filters": {
|
||||||
"name": ["in","Customer,Supplier,Sales Partner"],
|
"name": ["in","Customer,Supplier,Sales Partner,Lead"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,6 +130,7 @@ def get_party_group(party_type):
|
|||||||
"Customer": "customer_group",
|
"Customer": "customer_group",
|
||||||
"Supplier": "supplier_group",
|
"Supplier": "supplier_group",
|
||||||
"Sales Partner": "partner_type",
|
"Sales Partner": "partner_type",
|
||||||
|
"Lead": "status",
|
||||||
}
|
}
|
||||||
|
|
||||||
return group[party_type]
|
return group[party_type]
|
||||||
|
|||||||
Reference in New Issue
Block a user