diff --git a/erpnext/accounts/doctype/bank_account/bank_account.py b/erpnext/accounts/doctype/bank_account/bank_account.py index c917dbdae8f621f6804a2b4ba3ad882fc7e94acc..7cf30ba8655748a635ab7eefc0432903b077aa55 100644 --- a/erpnext/accounts/doctype/bank_account/bank_account.py +++ b/erpnext/accounts/doctype/bank_account/bank_account.py @@ -130,6 +130,7 @@ class BankAccount(Document): "party_type": self.party_type, "party": self.party, "is_company_account": self.is_company_account, + "company": self.company, "is_default": 1, "disabled": 0, },