diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.py b/erpnext/accounts/doctype/payment_entry/payment_entry.py index 69f0ddae7c..cfe0d9c9df 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.py +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.py @@ -190,7 +190,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(