Correct args to the fmt_money function
This commit is contained in:
parent
bd8c7d683b
commit
ef027e9030
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user