fix: typerror on custom reports
This commit is contained in:
parent
08efd373ee
commit
b0ed1735c2
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ def add_custom_column_data(custom_columns, result):
|
|||
key = (column.get("doctype"), column.get("fieldname"))
|
||||
if key in custom_column_data:
|
||||
for row in result:
|
||||
row_reference = row.get(column.get("link_field"))
|
||||
row_reference = row.get(column.get("link_field").get("fieldname"))
|
||||
# possible if the row is empty
|
||||
if not row_reference:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue