fix: column data not visible after manual selection of columns

This commit is contained in:
thefalconx33 2019-12-04 09:46:42 +05:30
parent 6a743be1de
commit a639f16dc9

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