fix: GL Entry creation

Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
Ganga Manoj 2021-07-19 23:44:55 +05:30 committed by Deepesh Garg
parent e7e9bda123
commit f421dc7ca7

View File

@ -838,7 +838,7 @@ class AccountsController(TransactionBase):
dr_or_cr + "_in_account_currency": flt(item.discount_amount),
"cost_center": item.cost_center,
"project": item.project
}, account_currency, item=self)
}, account_currency, item=item)
)
account_currency = get_account_currency(income_or_expense_account)