From 8bc1efcf8b932f71538aab0cecbf2f90608aaec9 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Sun, 14 Jan 2024 11:23:34 +0530 Subject: [PATCH] Revert "refactor: set against account link for jv" This reverts commit 450c2470e959f4d705afc3212546249ad406bee3. --- erpnext/accounts/doctype/journal_entry/journal_entry.py | 1 - erpnext/accounts/utils.py | 1 - 2 files changed, 2 deletions(-) diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py index 619912b46b..40d552bc88 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.py +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py @@ -304,7 +304,6 @@ class JournalEntry(AccountsController): "account": tax_withholding_details.get("account_head"), rev_debit_or_credit: tax_withholding_details.get("tax_amount"), "against_account": parties[0], - "against_account_link": parties[0], }, ) diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index f933209364..19095bc46e 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -642,7 +642,6 @@ def update_reference_in_journal_entry(d, journal_entry, do_not_save=False): new_row.set("reference_name", d["against_voucher"]) new_row.against_account = cstr(jv_detail.against_account) - new_row.against_account_link = cstr(jv_detail.against_account) new_row.is_advance = cstr(jv_detail.is_advance) new_row.docstatus = 1