Files
erpnext/erpnext
pandiyan 8cceb6af10 fix: detect the currency column by fieldtype in trends total row
calculate_total_row tested each column with `"Link/Currency" in col`, but
based-on and group-by columns are dicts, so the test checked the dict's keys
and never matched. currency_col_idx stayed None and the grand-total row's
currency cell was left unset, so Total(Amt) rendered with the global default
currency instead of the company's.

Match the dict's fieldtype/options instead. Dict columns are never numeric
and string columns are never Link columns, so the two branches are now
mutually exclusive.
2026-07-28 11:27:46 +05:30
..
2026-01-13 10:50:15 +05:30
2022-03-28 18:52:46 +05:30
2022-04-28 12:02:54 +05:30
2022-03-28 18:52:46 +05:30