Revert "fix: set against type in utils"
This reverts commit f292a0cc4c89814607fec0bb66d1c458d6624750.
This commit is contained in:
parent
fbeaf2b398
commit
9339a8b57f
@ -153,7 +153,6 @@ class InvoiceDiscounting(AccountsController):
|
||||
"account": inv.debit_to,
|
||||
"party_type": "Customer",
|
||||
"party": d.customer,
|
||||
"against_type": "Account",
|
||||
"against": self.accounts_receivable_credit,
|
||||
"against_link": self.accounts_receivable_credit,
|
||||
"credit": outstanding_in_company_currency,
|
||||
@ -175,7 +174,6 @@ class InvoiceDiscounting(AccountsController):
|
||||
"account": self.accounts_receivable_credit,
|
||||
"party_type": "Customer",
|
||||
"party": d.customer,
|
||||
"against_type": "Account",
|
||||
"against": inv.debit_to,
|
||||
"against_link": inv.debit_to,
|
||||
"debit": outstanding_in_company_currency,
|
||||
|
@ -153,7 +153,6 @@ def make_gl_entry(tax, gl_entries, doc, tax_accounts):
|
||||
"account": tax.account_head,
|
||||
"cost_center": tax.cost_center,
|
||||
"posting_date": doc.posting_date,
|
||||
"against_type": "Supplier",
|
||||
"against": doc.supplier,
|
||||
"against_link": doc.supplier,
|
||||
dr_or_cr: tax.base_tax_amount_after_discount_amount,
|
||||
|
@ -1459,7 +1459,6 @@ class StockEntry(StockController):
|
||||
self.get_gl_dict(
|
||||
{
|
||||
"account": account,
|
||||
"against_type": "Account",
|
||||
"against": d.expense_account,
|
||||
"against_link": d.expense_account,
|
||||
"cost_center": d.cost_center,
|
||||
@ -1475,7 +1474,6 @@ class StockEntry(StockController):
|
||||
self.get_gl_dict(
|
||||
{
|
||||
"account": d.expense_account,
|
||||
"against_type": "Account",
|
||||
"against": account,
|
||||
"against_link": account,
|
||||
"cost_center": d.cost_center,
|
||||
|
Loading…
x
Reference in New Issue
Block a user