From 2112f36577d8de4eaa655894cbd3896294178407 Mon Sep 17 00:00:00 2001 From: ljain112 Date: Thu, 9 Oct 2025 13:32:45 +0530 Subject: [PATCH] fix: add cost center to tds row in journal entry --- erpnext/accounts/doctype/journal_entry/journal_entry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py index d359a0689e1..294353eca16 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.py +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py @@ -442,6 +442,7 @@ class JournalEntry(AccountsController): "account": tax_acc, "account_currency": acc_curr, "exchange_rate": exch_rate, + "cost_center": tax_details.get("cost_center"), "debit": 0, "credit": 0, "debit_in_account_currency": 0,