commit | a1d015cc2feff475d867bbc9e27cc62cb340dc49 | [log] [tgz] |
---|---|---|
author | deepeshgarg007 <deepeshgarg6@gmail.com> | Wed Dec 26 11:01:02 2018 +0530 |
committer | deepeshgarg007 <deepeshgarg6@gmail.com> | Wed Dec 26 11:01:02 2018 +0530 |
tree | cc40a20a36f793168bb07372b7562b0dd57a7ffe | |
parent | 64238ee91f73206ce09801370ed4fd984e1897c2 [diff] |
Initialized loyalty_point_details
diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py index c324292..05d4d07 100644 --- a/erpnext/accounts/party.py +++ b/erpnext/accounts/party.py
@@ -479,6 +479,8 @@ fields=["company", "sum(grand_total) as grand_total", "sum(base_grand_total) as base_grand_total"] ) + loyalty_point_details = [] + if party_type == "Customer": loyalty_point_details = frappe._dict(frappe.get_all("Loyalty Point Entry", filters={