Period Closing Voucher as per multi currency

This commit is contained in:
Nabin Hait
2015-10-21 13:22:40 +05:30
parent 5dd0fb6e2a
commit 0045c305ac
4 changed files with 48 additions and 47 deletions

View File

@@ -221,7 +221,7 @@ class AccountsController(TransactionBase):
if not account_currency:
account_currency = get_account_currency(gl_dict.account)
if self.doctype != "Journal Entry":
if self.doctype not in ["Journal Entry", "Period Closing Voucher"]:
self.validate_account_currency(gl_dict.account, account_currency)
self.set_balance_in_account_currency(gl_dict, account_currency)