mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 01:25:07 +00:00
revert: do not set pay_to_recd_from to None
(cherry picked from commit 03d6550db3)
This commit is contained in:
@@ -1044,9 +1044,7 @@ class JournalEntry(AccountsController):
|
|||||||
|
|
||||||
def set_print_format_fields(self):
|
def set_print_format_fields(self):
|
||||||
bank_amount = party_amount = total_amount = 0.0
|
bank_amount = party_amount = total_amount = 0.0
|
||||||
currency = (
|
currency = bank_account_currency = party_account_currency = pay_to_recd_from = None
|
||||||
bank_account_currency
|
|
||||||
) = party_account_currency = pay_to_recd_from = self.pay_to_recd_from = None
|
|
||||||
party_type = None
|
party_type = None
|
||||||
for d in self.get("accounts"):
|
for d in self.get("accounts"):
|
||||||
if d.party_type in ["Customer", "Supplier"] and d.party:
|
if d.party_type in ["Customer", "Supplier"] and d.party:
|
||||||
|
|||||||
Reference in New Issue
Block a user