Payment Entry submission and more

This commit is contained in:
Nabin Hait
2016-06-26 17:48:07 +05:30
parent 12e2a51519
commit e3a10170f7
8 changed files with 468 additions and 330 deletions

View File

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