commit | 5ec5584319e18341e839d354bd251b9b7a382ca7 | [log] [tgz] |
---|---|---|
author | Abhishek Balam <abhishekbalam96@gmail.com> | Sun May 10 00:24:43 2020 +0530 |
committer | Abhishek Balam <abhishekbalam96@gmail.com> | Sun May 10 00:24:43 2020 +0530 |
tree | 0bc0fc65e562394e96d769a58bc5642c18f79b36 | |
parent | 7cbc902d90a3f43b985c9c12abbf0ab8caf82dc2 [diff] |
In treeview, bold only for root territory, looks cleaner
diff --git a/erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py b/erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py index 0121a82..b7bb021 100644 --- a/erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py +++ b/erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py
@@ -143,7 +143,7 @@ 'new_customer_revenue': new[1], 'repeat_customer_revenue': repeat[1], 'total_revenue': new[1] + repeat[1], - 'bold': 0 if condition else 1 + 'bold': 0 if indent else 1 } data.append(temp) node_list = [x for x in territory_dict.keys() if territory_dict[x]['is_group'] == 0]