Merge pull request #4123 from nabinhait/fix4
[fix] allowed more than 2 currencies in Journal Entry
diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py
index e7773a6..9f3c337 100644
--- a/erpnext/accounts/doctype/journal_entry/journal_entry.py
+++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py
@@ -7,7 +7,6 @@
from frappe import msgprint, _, scrub
from erpnext.controllers.accounts_controller import AccountsController
from erpnext.accounts.utils import get_balance_on, get_account_currency
-from erpnext.accounts.party import get_party_account_currency
from erpnext.setup.utils import get_company_currency
@@ -278,9 +277,6 @@
if not self.multi_currency:
frappe.throw(_("Please check Multi Currency option to allow accounts with other currency"))
- if len(alternate_currency) > 1:
- frappe.throw(_("Only one alternate currency can be used in a single Journal Entry"))
-
self.set_exchange_rate()
for d in self.get("accounts"):