From 4df80c5b53c678a2740eaca74fe14cd89ae7fbbb Mon Sep 17 00:00:00 2001 From: ljain112 Date: Wed, 12 Nov 2025 19:28:38 +0530 Subject: [PATCH] chore: typo in comment (cherry picked from commit e056c0327dc2043bb3baf43c6e73706f29bc31d4) --- .../report/tax_withholding_details/tax_withholding_details.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py index 169de9cd801..78fc08614f2 100644 --- a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py +++ b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py @@ -80,13 +80,13 @@ def get_result(filters, tds_docs, tds_accounts, tax_category_map, journal_entry_ if values: if voucher_type == "Journal Entry" and tax_amount and rate: - # back calcalute total amount from rate and tax_amount + # back calculate total amount from rate and tax_amount base_total = min(flt(tax_amount / (rate / 100), precision=precision), values[0]) total_amount = grand_total = base_total else: if tax_amount and rate: - # back calcalute total amount from rate and tax_amount + # back calculate total amount from rate and tax_amount total_amount = flt((tax_amount * 100) / rate, precision=precision) else: total_amount = values[0]