From 59dd5fee2626223bd1b75cd30a47b7e20160bcc4 Mon Sep 17 00:00:00 2001 From: priyanshshah2442 Date: Mon, 9 Jun 2025 19:20:40 +0530 Subject: [PATCH] fix: fieldtype to Currency for discount amounts (cherry picked from commit f781a39dbef72667eda9d248344ec7e9f11acdb0) --- .../calculated_discount_mismatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/report/calculated_discount_mismatch/calculated_discount_mismatch.py b/erpnext/accounts/report/calculated_discount_mismatch/calculated_discount_mismatch.py index d8005761e92..4017fca2b38 100644 --- a/erpnext/accounts/report/calculated_discount_mismatch/calculated_discount_mismatch.py +++ b/erpnext/accounts/report/calculated_discount_mismatch/calculated_discount_mismatch.py @@ -57,13 +57,13 @@ def get_columns(): { "fieldname": "actual_discount_amount", "label": _("Discount Amount in Transaction"), - "fieldtype": "Data", + "fieldtype": "Currency", "width": 180, }, { "fieldname": "suspected_discount_amount", "label": _("Suspected Discount Amount"), - "fieldtype": "Data", + "fieldtype": "Currency", "width": 180, }, ]