diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.py b/erpnext/accounts/doctype/payment_entry/payment_entry.py index e20da1d9d6..61e7f240d5 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.py +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.py @@ -107,7 +107,7 @@ class PaymentEntry(AccountsController): def set_liability_account(self): # Auto setting liability account should only be done during 'draft' status - if self.docstatus > 0: + if self.docstatus > 0 or self.payment_type == "Internal Transfer": return if not frappe.db.get_value(