Merge pull request #8458 from ruchamahabal/fix_export_report
fix(Report View): export report not working for add group
This commit is contained in:
commit
8e18faa596
1 changed files with 2 additions and 0 deletions
|
|
@ -213,6 +213,8 @@ def get_labels(fields, doctype):
|
|||
for key in fields:
|
||||
key = key.split(" as ")[0]
|
||||
|
||||
if key.startswith(('count(', 'sum(', 'avg(')): continue
|
||||
|
||||
if "." in key:
|
||||
parenttype, fieldname = key.split(".")[0][4:-1], key.split(".")[1].strip("`")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue