mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
fix: remove redundant party variable assignments
This commit is contained in:
@@ -380,11 +380,6 @@ class JournalEntry(AccountsController):
|
|||||||
if not party:
|
if not party:
|
||||||
return
|
return
|
||||||
|
|
||||||
party = party
|
|
||||||
party_type = party_type
|
|
||||||
party_account = party_account
|
|
||||||
party_row = party_row
|
|
||||||
|
|
||||||
dr_cr = "credit" if party_type == "Supplier" else "debit"
|
dr_cr = "credit" if party_type == "Supplier" else "debit"
|
||||||
rev_dr_cr = "debit" if party_type == "Supplier" else "credit"
|
rev_dr_cr = "debit" if party_type == "Supplier" else "credit"
|
||||||
precision = self.precision(dr_cr, party_row)
|
precision = self.precision(dr_cr, party_row)
|
||||||
|
|||||||
Reference in New Issue
Block a user