Merge pull request #19864 from nextchamp-saqib/report-col-fix

fix: column data not visible after manual selection of columns
This commit is contained in:
Deepesh Garg
2019-12-09 17:57:12 +05:30
committed by GitHub

View File

@@ -4,7 +4,7 @@ erpnext.financial_statements = {
"filters": get_filters(),
"formatter": function(value, row, column, data, default_formatter) {
if (column.fieldname=="account") {
value = data.account_name;
value = data.account_name || value;
column.link_onclick =
"erpnext.financial_statements.open_general_ledger(" + JSON.stringify(data) + ")";