Revert "refactor: set against account link for jv"

This reverts commit 450c2470e959f4d705afc3212546249ad406bee3.
This commit is contained in:
Deepesh Garg 2024-01-14 11:23:34 +05:30
parent 1a67d7d95f
commit 8bc1efcf8b
2 changed files with 0 additions and 2 deletions

View File

@ -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],
},
)

View File

@ -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