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
commit 88c4514024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) + ")";