Revert "refactor: use both fields to store against values"

This reverts commit 09439334ca.
This commit is contained in:
Deepesh Garg
2024-01-14 11:22:50 +05:30
parent 4dad4b50fb
commit 1a67d7d95f
12 changed files with 0 additions and 65 deletions

View File

@@ -154,7 +154,6 @@ def make_gl_entry(tax, gl_entries, doc, tax_accounts):
"cost_center": tax.cost_center,
"posting_date": doc.posting_date,
"against": doc.supplier,
"against_link": doc.supplier,
dr_or_cr: tax.base_tax_amount_after_discount_amount,
dr_or_cr + "_in_account_currency": tax.base_tax_amount_after_discount_amount
if account_currency == doc.company_currency