mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
Correct args to the fmt_money function
This commit is contained in:
@@ -189,8 +189,8 @@ class Account(Document):
|
|||||||
|
|
||||||
if account_balance != stock_balance:
|
if account_balance != stock_balance:
|
||||||
frappe.throw(_('Account balance ({0}) and stock value ({1}) must be same')\
|
frappe.throw(_('Account balance ({0}) and stock value ({1}) must be same')\
|
||||||
.format(fmt_money(account_balance, self.account_currency),
|
.format(fmt_money(account_balance, currency=self.account_currency),
|
||||||
fmt_money(stock_balance, self.account_currency)))
|
fmt_money(stock_balance, currency=self.account_currency)))
|
||||||
|
|
||||||
elif self.warehouse:
|
elif self.warehouse:
|
||||||
self.warehouse = None
|
self.warehouse = None
|
||||||
|
|||||||
Reference in New Issue
Block a user